Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 110 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 193.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6506/0.6506, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 64.84 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01861/0.137, allocations: 17.17 MB / 0.6484 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008476/0.1455, allocations: 5.83 MB / 0.6541 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.1466, allocations: 59.88 kB / 0.6541 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.1497, allocations: 1.301 MB / 0.6554 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.1515, allocations: 0.8441 MB / 0.6562 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.1543, allocations: 1.337 MB / 0.6575 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003916/0.1582, allocations: 4.291 MB / 0.6617 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007196/0.1654, allocations: 6.808 MB / 0.6683 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002243/0.1677, allocations: 1.929 MB / 0.6702 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.1706, allocations: 2.287 MB / 0.6725 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005217/0.1711, allocations: 448 kB / 0.6729 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.1725, allocations: 0.8506 MB / 0.6737 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.1739, allocations: 1.723 MB / 0.6754 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.1755, allocations: 1.759 MB / 0.6771 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.1806, allocations: 6.374 MB / 0.6833 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1806, allocations: 0 / 0.6833 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1806, allocations: 0 / 0.6833 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.422e-05/0.1807, allocations: 0 / 0.6833 GB, free: 15.67 MB / 0.5294 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.004741/0.1854, allocations: 3.084 MB / 0.6864 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1855, allocations: 12.03 kB / 0.6864 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000502/0.186, allocations: 462.7 kB / 0.6868 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/0.1904, allocations: 1.113 MB / 0.6879 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.1928, allocations: 1.639 MB / 0.6895 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.193, allocations: 222.4 kB / 0.6897 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000416/0.1934, allocations: 288.4 kB / 0.69 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006818/0.2002, allocations: 5.303 MB / 0.6952 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.096e-05/0.2003, allocations: 3.938 kB / 0.6952 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000299/0.2006, allocations: 128 kB / 0.6953 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/0.2008, allocations: 209 kB / 0.6955 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006462/0.2072, allocations: 4.756 MB / 0.7001 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.2296, allocations: 22.99 MB / 0.7226 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004026/0.2337, allocations: 3.183 MB / 0.7257 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.2348, allocations: 0.9173 MB / 0.7266 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.235, allocations: 109.7 kB / 0.7267 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.235, allocations: 47.16 kB / 0.7267 GB, free: 436 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.235, allocations: 0 / 0.7267 GB, free: 436 kB / 0.5606 GB Notification: Performance of matching and sorting (n=82): time 0.002935/0.238, allocations: 2.077 MB / 0.7288 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.973e-05/0.2381, allocations: 218.2 kB / 0.729 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.2394, allocations: 1.107 MB / 0.7301 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.2395, allocations: 41.7 kB / 0.7301 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/0.2402, allocations: 1.285 MB / 0.7314 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.2405, allocations: 291.9 kB / 0.7316 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005121/0.241, allocations: 351.1 kB / 0.732 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2411, allocations: 341.9 kB / 0.7323 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.2424, allocations: 0.8908 MB / 0.7332 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.2441, allocations: 1.519 MB / 0.7346 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.2469, allocations: 2.354 MB / 0.7369 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.182e-05/0.2469, allocations: 11.94 kB / 0.737 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003546/0.2504, allocations: 2.484 MB / 0.7394 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.2505, allocations: 20.22 kB / 0.7394 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/0.2505, allocations: 16 kB / 0.7394 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.523e-05/0.2506, allocations: 28 kB / 0.7394 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.252, allocations: 463.2 kB / 0.7399 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.116e-05/0.2521, allocations: 39.86 kB / 0.7399 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.2535, allocations: 353.6 kB / 0.7403 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.2536, allocations: 83.98 kB / 0.7403 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002599/0.2562, allocations: 1.905 MB / 0.7422 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001706/0.2579, allocations: 1.442 MB / 0.7436 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002743/0.2607, allocations: 2.194 MB / 0.7457 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.371e-05/0.2607, allocations: 8 kB / 0.7458 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.003387/0.2641, allocations: 2.327 MB / 0.748 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.2642, allocations: 16 kB / 0.748 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/0.2642, allocations: 20 kB / 0.7481 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.201e-05/0.2642, allocations: 28.81 kB / 0.7481 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.2655, allocations: 443.2 kB / 0.7485 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.62e-05/0.2656, allocations: 39.86 kB / 0.7486 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.2669, allocations: 282.5 kB / 0.7488 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.267, allocations: 83.92 kB / 0.7489 GB, free: 8.484 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.2674, allocations: 279.6 kB / 0.7492 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.2676, allocations: 98.88 kB / 0.7493 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.2698, allocations: 1.56 MB / 0.7508 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2698, allocations: 12 kB / 0.7508 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.2698, allocations: 0 / 0.7508 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/0.2699, allocations: 11.92 kB / 0.7508 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/0.2764, allocations: 4.47 MB / 0.7552 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/0.2764, allocations: 0 / 0.7552 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.2773, allocations: 251.6 kB / 0.7554 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.2773, allocations: 4 kB / 0.7554 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.2774, allocations: 16 kB / 0.7554 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.2774, allocations: 8 kB / 0.7554 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.2774, allocations: 4 kB / 0.7554 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2726/0.55, allocations: 1.91 MB / 0.7573 GB, free: 115.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000605/0.5507, allocations: 319.2 kB / 0.7576 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.5508, allocations: 19.62 kB / 0.7576 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009485/0.5518, allocations: 124.1 kB / 0.7578 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.5519, allocations: 56.27 kB / 0.7578 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-05/0.552, allocations: 20.91 kB / 0.7578 GB, free: 115.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001098/0.5531, allocations: 0.7999 MB / 0.7586 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5531, allocations: 0.8125 kB / 0.7586 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00282/0.5559, allocations: 1.301 MB / 0.7599 GB, free: 115.1 MB / 0.5919 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002112/0.558, allocations: 2.477 MB / 0.7623 GB, free: 113.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004092/0.5622, allocations: 2.988 MB / 0.7652 GB, free: 113 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5622, allocations: 0 / 0.7652 GB, free: 113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007667/0.5629, allocations: 0.6607 MB / 0.7659 GB, free: 112.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.5642, allocations: 204.9 kB / 0.7661 GB, free: 112.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01862/0.5828, allocations: 15.16 MB / 0.7809 GB, free: 105.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/0.5844, allocations: 2.207 MB / 0.783 GB, free: 104 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001858/0.5863, allocations: 1.1 MB / 0.7841 GB, free: 104 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007975/0.5871, allocations: 0.8346 MB / 0.7849 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/0.5871, allocations: 3.406 kB / 0.7849 GB, free: 103.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.6276, allocations: 32.03 MB / 0.8162 GB, free: 74.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.197, allocations: 15.98 kB / 0.8162 GB, free: 74.25 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Sensors_Examples_Sensors.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)