Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",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.801/1.801, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.00104/0.00104, allocations: 184.9 kB / 361.4 MB, free: 6.836 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.679/1.679, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008781/0.0008782, allocations: 90.02 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.613e-05/2.647e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8198/0.8199, allocations: 115.3 MB / 0.9645 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/1.089, allocations: 171.8 MB / 1.132 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/1.089, allocations: 95.94 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2749/1.364, allocations: 104.4 MB / 1.234 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.485e-06/1.364, allocations: 3.938 kB / 1.234 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002182/1.365, allocations: 63.98 kB / 1.234 GB, free: 6.562 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.01081/1.375, allocations: 2.448 MB / 1.237 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/1.375, allocations: 15.97 kB / 1.237 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007039/1.383, allocations: 1.003 MB / 1.238 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/1.388, allocations: 1.648 MB / 1.239 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/1.388, allocations: 96 kB / 1.239 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/1.39, allocations: 168 kB / 1.24 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01105/1.401, allocations: 3.612 MB / 1.243 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/1.418, allocations: 4.298 MB / 1.247 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/1.418, allocations: 4 kB / 1.247 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001352/1.419, allocations: 3.953 kB / 1.247 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003246/1.419, allocations: 185.1 kB / 1.248 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.81/2.23, allocations: 22.25 MB / 1.269 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004219/2.234, allocations: 3.123 MB / 1.272 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/2.235, allocations: 0.8713 MB / 1.273 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/2.235, allocations: 107.2 kB / 1.273 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/2.235, allocations: 56.59 kB / 1.273 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=82): time 3.797e-06/2.235, allocations: 0 / 1.273 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=82): time 0.002903/2.238, allocations: 1.471 MB / 1.275 GB, free: 187 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.734e-05/2.238, allocations: 219.9 kB / 1.275 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/2.24, allocations: 0.9462 MB / 1.276 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.969e-05/2.24, allocations: 29.3 kB / 1.276 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008783/2.241, allocations: 1.278 MB / 1.277 GB, free: 186 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002971/2.241, allocations: 286.9 kB / 1.277 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/2.241, allocations: 3.562 kB / 1.277 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001775/2.241, allocations: 404.7 kB / 1.278 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/2.243, allocations: 0.8183 MB / 1.279 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/2.244, allocations: 1.429 MB / 1.28 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/2.247, allocations: 1.402 MB / 1.281 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/2.247, allocations: 9.406 kB / 1.281 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005384/2.253, allocations: 2.536 MB / 1.284 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.00193/2.255, allocations: 7.496 MB / 1.291 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/2.255, allocations: 19.5 kB / 1.291 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-05/2.255, allocations: 35.3 kB / 1.291 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00187/2.257, allocations: 467.7 kB / 1.292 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.768e-05/2.257, allocations: 42.53 kB / 1.292 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/2.259, allocations: 320.3 kB / 1.292 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/2.259, allocations: 78.61 kB / 1.292 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/2.259, allocations: 4.281 kB / 1.292 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004719/2.264, allocations: 2.241 MB / 1.294 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.598e-05/2.264, allocations: 20.08 kB / 1.294 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.687e-05/2.264, allocations: 32.34 kB / 1.294 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/2.266, allocations: 445.8 kB / 1.295 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.241e-05/2.266, allocations: 46.7 kB / 1.295 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/2.267, allocations: 219.2 kB / 1.295 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/2.268, allocations: 79.03 kB / 1.295 GB, free: 176.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (197): * Single equations (assignments): 197 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006239/2.268, allocations: 161.7 kB / 1.295 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004225/2.273, allocations: 1.466 MB / 1.297 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007628/2.273, allocations: 102 kB / 1.297 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004133/2.278, allocations: 1.532 MB / 1.298 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/2.278, allocations: 9.531 kB / 1.298 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/2.278, allocations: 2.625 kB / 1.298 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/2.278, allocations: 9.625 kB / 1.298 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/2.288, allocations: 3.759 MB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/2.288, allocations: 1.812 kB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/2.289, allocations: 234.7 kB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/2.289, allocations: 5.375 kB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/2.289, allocations: 5.422 kB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/2.29, allocations: 5.078 kB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/2.29, allocations: 2.844 kB / 1.302 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/2.293, allocations: 1.958 MB / 1.304 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00089/2.294, allocations: 358.6 kB / 1.304 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00033/2.294, allocations: 5.906 kB / 1.304 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/2.295, allocations: 111.2 kB / 1.305 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/2.295, allocations: 48.95 kB / 1.305 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/2.295, allocations: 25.52 kB / 1.305 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001551/2.297, allocations: 0.7415 MB / 1.305 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.42e-07/2.297, allocations: 0 / 1.305 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006237/2.303, allocations: 1.283 MB / 1.307 GB, free: 174.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 85 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003887/2.307, allocations: 2.933 MB / 1.31 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006553/2.314, allocations: 2.764 MB / 1.312 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/2.314, allocations: 3.125 kB / 1.312 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/2.315, allocations: 0.6227 MB / 1.313 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/2.316, allocations: 159 kB / 1.313 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/2.333, allocations: 4.393 MB / 1.317 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005719/2.339, allocations: 2.26 MB / 1.319 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005006/2.344, allocations: 1.156 MB / 1.321 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/2.346, allocations: 0.8229 MB / 1.321 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.776e-06/2.346, allocations: 0 / 1.321 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06575/2.412, allocations: 31.51 MB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/2.412, allocations: 181.4 kB / 1.352 GB, free: 168 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/5.328, allocations: 0 / 1.352 GB, free: 168 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)