Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.654/1.654, allocations: 288.2 MB / 303.2 MB, free: 8.156 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 181.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 0.6305 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008886/0.0008885, allocations: 93.27 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004201, allocations: 15.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.005072/0.2656, allocations: 3.998 MB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003142/0.2688, allocations: 2.059 MB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.269, allocations: 11.94 kB / 0.9854 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.2692, allocations: 59.59 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.2697, allocations: 187.4 kB / 0.9857 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006545/0.2704, allocations: 267.4 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.2707, allocations: 327.2 kB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.2717, allocations: 0.5987 MB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.2719, allocations: 151.5 kB / 0.987 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.2722, allocations: 187.3 kB / 0.9871 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.543e-05/0.2722, allocations: 16 kB / 0.9871 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.2725, allocations: 139.8 kB / 0.9873 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.2727, allocations: 147.6 kB / 0.9874 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.2728, allocations: 93.52 kB / 0.9875 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.2732, allocations: 482.7 kB / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2732, allocations: 0 / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2732, allocations: 0 / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2733, allocations: 0 / 0.988 GB, free: 18.88 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009511/0.2742, allocations: 0.6471 MB / 0.9886 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2743, allocations: 8.031 kB / 0.9886 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/0.2744, allocations: 90.44 kB / 0.9887 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009208/0.2753, allocations: 147.2 kB / 0.9888 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.2757, allocations: 311.4 kB / 0.9891 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.2757, allocations: 25 kB / 0.9892 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.2758, allocations: 35.91 kB / 0.9892 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007303/0.2765, allocations: 0.6338 MB / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.2766, allocations: 0 / 0.9898 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.2766, allocations: 12 kB / 0.9898 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.757e-05/0.2767, allocations: 48.56 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005873/0.2773, allocations: 474.1 kB / 0.9903 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.2801, allocations: 3.424 MB / 0.9937 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.2807, allocations: 376.9 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.2807, allocations: 8 kB / 0.994 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.2808, allocations: 34.56 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.492e-06/0.2808, allocations: 0 / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.004224/0.285, allocations: 1.454 MB / 0.9955 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.2851, allocations: 81.11 kB / 0.9956 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.2853, allocations: 324.4 kB / 0.9959 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2854, allocations: 33.7 kB / 0.9959 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2855, allocations: 259.3 kB / 0.9961 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.2856, allocations: 102.6 kB / 0.9962 GB, free: 9.824 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.2856, allocations: 4 kB / 0.9963 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.2857, allocations: 342.8 kB / 0.9966 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.2859, allocations: 177 kB / 0.9967 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.2862, allocations: 334.1 kB / 0.9971 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.2864, allocations: 227.8 kB / 0.9973 GB, free: 8.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2864, allocations: 4 kB / 0.9973 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001972/0.2884, allocations: 0.9081 MB / 0.9982 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004445/0.2889, allocations: 2.086 MB / 1 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.2889, allocations: 4 kB / 1 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/0.291, allocations: 0.5088 MB / 1.001 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.2914, allocations: 91.81 kB / 1.001 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004699/0.2961, allocations: 3.869 MB / 1.005 GB, free: 0.7578 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.2966, allocations: 39.81 kB / 1.005 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.2966, allocations: 28.06 kB / 1.005 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2966, allocations: 9.344 kB / 1.005 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006337/0.2973, allocations: 475.8 kB / 1.005 GB, free: 224 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2973, allocations: 8 kB / 1.005 GB, free: 216 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.2973, allocations: 8 kB / 1.005 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.2977, allocations: 111.8 kB / 1.005 GB, free: 96 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2977, allocations: 15.88 kB / 1.005 GB, free: 80 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.2979, allocations: 35.81 kB / 1.005 GB, free: 44 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.298, allocations: 24 kB / 1.005 GB, free: 20 kB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003624/0.2983, allocations: 265.2 kB / 1.006 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.2984, allocations: 31.62 kB / 1.006 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001784/0.3002, allocations: 0.6743 MB / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3003, allocations: 4 kB / 1.006 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3003, allocations: 0 / 1.006 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.3003, allocations: 7.953 kB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.3015, allocations: 0.6558 MB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/0.3015, allocations: 8 kB / 1.007 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.3017, allocations: 43.91 kB / 1.007 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.3032, allocations: 401.3 kB / 1.007 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3033, allocations: 19.94 kB / 1.007 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/0.3073, allocations: 3.537 MB / 1.011 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.3073, allocations: 4.031 kB / 1.011 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.3091, allocations: 0.8626 MB / 1.012 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.3093, allocations: 145.1 kB / 1.012 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.3094, allocations: 4 kB / 1.012 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.3097, allocations: 47.88 kB / 1.012 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.3098, allocations: 19.97 kB / 1.012 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3098, allocations: 8 kB / 1.012 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002901/0.3101, allocations: 227 kB / 1.012 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3101, allocations: 0 / 1.012 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001021/0.3112, allocations: 192 kB / 1.012 GB, free: 8.461 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002454/0.3136, allocations: 1.653 MB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.3155, allocations: 0.9413 MB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3155, allocations: 0 / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/0.3162, allocations: 489.4 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.3167, allocations: 70.75 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006429/0.3232, allocations: 6.122 MB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.3237, allocations: 0.8585 MB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004485/0.3242, allocations: 131.2 kB / 1.022 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.3243, allocations: 115.4 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.432e-06/0.3243, allocations: 0 / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.3513, allocations: 9.895 MB / 1.032 GB, free: 4.145 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.3516, allocations: 234.5 kB / 1.032 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.587, allocations: 0 / 1.032 GB, free: 3.91 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)