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.0009891/0.0009891, allocations: 96.42 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 175.2 kB / 16.57 MB, free: 6.859 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.28/1.28, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6776/0.6776, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002972, allocations: 8.906 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01363/0.1448, allocations: 15.32 MB / 0.5717 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006858/0.1517, allocations: 5.501 MB / 0.5771 GB, free: 6.809 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006008/0.1523, allocations: 39.88 kB / 0.5771 GB, free: 6.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006029/0.1529, allocations: 361.8 kB / 0.5775 GB, free: 6.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.154, allocations: 0.5724 MB / 0.578 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.1555, allocations: 0.7675 MB / 0.5788 GB, free: 5.074 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.1573, allocations: 1.899 MB / 0.5806 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2209/0.3783, allocations: 7.016 MB / 0.5875 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.3801, allocations: 1.065 MB / 0.5885 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.3821, allocations: 1.243 MB / 0.5897 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003841/0.3825, allocations: 189.5 kB / 0.5899 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.3835, allocations: 412 kB / 0.5903 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.3848, allocations: 1.272 MB / 0.5915 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006057/0.3854, allocations: 0.5598 MB / 0.5921 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.3905, allocations: 5.321 MB / 0.5973 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3905, allocations: 0 / 0.5973 GB, free: 12.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3905, allocations: 2.688 kB / 0.5973 GB, free: 12.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3907, allocations: 0 / 0.5973 GB, free: 12.96 MB / 446.1 MB 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.004949/0.3956, allocations: 2.503 MB / 0.5997 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3957, allocations: 8.562 kB / 0.5997 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006462/0.3963, allocations: 461.4 kB / 0.6002 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004943/0.4013, allocations: 1.21 MB / 0.6014 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.4046, allocations: 1.597 MB / 0.6029 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4048, allocations: 225.4 kB / 0.6031 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/0.4053, allocations: 290.4 kB / 0.6034 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009608/0.4149, allocations: 5.253 MB / 0.6085 GB, free: 9.656 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.069e-05/0.415, allocations: 7.906 kB / 0.6085 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.4155, allocations: 119.8 kB / 0.6087 GB, free: 9.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002654/0.4157, allocations: 205.8 kB / 0.6089 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008053/0.4238, allocations: 4.744 MB / 0.6135 GB, free: 8.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.4454, allocations: 23.2 MB / 0.6361 GB, free: 3.613 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.4492, allocations: 3.183 MB / 0.6393 GB, free: 172 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.4493, allocations: 108.1 kB / 0.6394 GB, free: 56 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.4494, allocations: 57.12 kB / 0.6394 GB, free: 15.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.564e-06/0.4494, allocations: 0 / 0.6394 GB, free: 15.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.002699/0.4521, allocations: 2.116 MB / 0.6415 GB, free: 13.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.4522, allocations: 218.3 kB / 0.6417 GB, free: 13.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.4534, allocations: 1.09 MB / 0.6428 GB, free: 12.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.4534, allocations: 41.7 kB / 0.6428 GB, free: 12.46 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005859/0.454, allocations: 1.28 MB / 0.644 GB, free: 11.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.4542, allocations: 307.2 kB / 0.6443 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.4543, allocations: 28 kB / 0.6444 GB, free: 10.85 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4545, allocations: 406.7 kB / 0.6447 GB, free: 10.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.4555, allocations: 0.8938 MB / 0.6456 GB, free: 9.547 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.4569, allocations: 1.515 MB / 0.6471 GB, free: 7.758 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/0.4583, allocations: 1.191 MB / 0.6483 GB, free: 6.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.4583, allocations: 8 kB / 0.6483 GB, free: 6.562 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003008/0.4613, allocations: 2.507 MB / 0.6507 GB, free: 4.047 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.4631, allocations: 7.488 MB / 0.658 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4632, allocations: 23.95 kB / 0.6581 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.91e-05/0.4632, allocations: 31.47 kB / 0.6581 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.4646, allocations: 469.5 kB / 0.6585 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.874e-05/0.4647, allocations: 39.86 kB / 0.6586 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.466, allocations: 345.9 kB / 0.6589 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.4661, allocations: 79.98 kB / 0.659 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.4661, allocations: 6.344 kB / 0.659 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00263/0.4688, allocations: 2.237 MB / 0.6612 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.4688, allocations: 16 kB / 0.6612 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.4688, allocations: 32 kB / 0.6612 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.4701, allocations: 439.3 kB / 0.6616 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.57e-05/0.4701, allocations: 44.17 kB / 0.6617 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009466/0.4711, allocations: 250.6 kB / 0.6619 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.4712, allocations: 79.97 kB / 0.662 GB, free: 7.922 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001698/0.4729, allocations: 1.273 MB / 0.6632 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/0.4731, allocations: 98.78 kB / 0.6633 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002041/0.4752, allocations: 1.599 MB / 0.6649 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4752, allocations: 12 kB / 0.6649 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4752, allocations: 0 / 0.6649 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.4752, allocations: 7.984 kB / 0.6649 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005622/0.4808, allocations: 4.241 MB / 0.669 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4808, allocations: 0 / 0.669 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008808/0.4817, allocations: 263.5 kB / 0.6693 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4817, allocations: 5.969 kB / 0.6693 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.513e-05/0.4818, allocations: 16 kB / 0.6693 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.4818, allocations: 4 kB / 0.6693 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4818, allocations: 7.922 kB / 0.6693 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/0.4836, allocations: 2.006 MB / 0.6713 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005778/0.4842, allocations: 367.5 kB / 0.6716 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4843, allocations: 20 kB / 0.6717 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/0.4851, allocations: 119.8 kB / 0.6718 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4852, allocations: 60.52 kB / 0.6718 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.4853, allocations: 20 kB / 0.6719 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008264/0.4861, allocations: 0.7956 MB / 0.6726 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4861, allocations: 0 / 0.6726 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002663/0.4888, allocations: 1.305 MB / 0.6739 GB, free: 11.56 MB / 0.4981 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 (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.002114/0.4909, allocations: 2.99 MB / 0.6768 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003576/0.4945, allocations: 3.013 MB / 0.6798 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4945, allocations: 0 / 0.6798 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007563/0.4953, allocations: 0.6727 MB / 0.6804 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008898/0.4962, allocations: 164.3 kB / 0.6806 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.5126, allocations: 23.9 MB / 0.7039 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.5144, allocations: 2.259 MB / 0.7061 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002128/0.5165, allocations: 1.105 MB / 0.7072 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/0.5174, allocations: 0.8312 MB / 0.708 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.5174, allocations: 2.297 kB / 0.708 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.215/1.732, allocations: 30.57 MB / 0.7379 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/1.732, allocations: 204.5 kB / 0.7381 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.28/4.012, allocations: 0 / 0.7381 GB, free: 9.516 MB / 0.5606 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/linux/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) Environment - environmentSimulation: