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.0009743/0.0009743, allocations: 98.58 kB / 16.02 MB, free: 80 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.001094/0.001094, allocations: 180.4 kB / 16.92 MB, free: 6.688 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.32/1.32, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6687/0.6687, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003049/0.0003049, allocations: 11.98 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 77.52 MB / 0.56 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01889/0.1607, allocations: 16.48 MB / 0.5761 GB, free: 8.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00898/0.1697, allocations: 5.803 MB / 0.5818 GB, free: 2.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.1712, allocations: 43.88 kB / 0.5819 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1723, allocations: 325.7 kB / 0.5822 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.1744, allocations: 0.7785 MB / 0.5829 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.1766, allocations: 0.8726 MB / 0.5838 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2861/0.4628, allocations: 6.477 MB / 0.5901 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01329/0.4761, allocations: 7.965 MB / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002855/0.479, allocations: 1.286 MB / 0.5991 GB, free: 13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003569/0.4826, allocations: 1.93 MB / 0.601 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009619/0.4836, allocations: 190.4 kB / 0.6012 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.4858, allocations: 0.7216 MB / 0.6019 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0027/0.4885, allocations: 1.389 MB / 0.6033 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003524/0.4921, allocations: 1.411 MB / 0.6046 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008595/0.5007, allocations: 6.05 MB / 0.6106 GB, free: 9.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5007, allocations: 3.094 kB / 0.6106 GB, free: 9.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5007, allocations: 1.344 kB / 0.6106 GB, free: 9.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001411/0.5008, allocations: 0 / 0.6106 GB, free: 9.543 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.006103/0.507, allocations: 2.477 MB / 0.613 GB, free: 7.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.507, allocations: 9.5 kB / 0.613 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.5081, allocations: 463 kB / 0.6134 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005076/0.5132, allocations: 1.137 MB / 0.6145 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/0.5163, allocations: 1.607 MB / 0.6161 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.5165, allocations: 224.8 kB / 0.6163 GB, free: 6.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007656/0.5173, allocations: 295.2 kB / 0.6166 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009191/0.5265, allocations: 5.307 MB / 0.6218 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.458e-05/0.5266, allocations: 2.5 kB / 0.6218 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003733/0.527, allocations: 124.4 kB / 0.6219 GB, free: 2.785 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002457/0.5272, allocations: 205 kB / 0.6221 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008042/0.5353, allocations: 4.774 MB / 0.6268 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02737/0.5627, allocations: 23.21 MB / 0.6494 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.567, allocations: 3.187 MB / 0.6525 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.5682, allocations: 0.907 MB / 0.6534 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.5684, allocations: 105.1 kB / 0.6535 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.5684, allocations: 51.14 kB / 0.6536 GB, free: 140 kB / 478.1 MB Notification: Performance of pre-optimization done (n=82): time 2.494e-06/0.5684, allocations: 0 / 0.6536 GB, free: 140 kB / 478.1 MB Notification: Performance of matching and sorting (n=82): time 0.003031/0.5715, allocations: 2.09 MB / 0.6556 GB, free: 14.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.5716, allocations: 226.2 kB / 0.6558 GB, free: 13.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.5729, allocations: 1.094 MB / 0.6569 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.312e-05/0.573, allocations: 37.7 kB / 0.6569 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006848/0.5737, allocations: 1.288 MB / 0.6582 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.5739, allocations: 305 kB / 0.6585 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.5741, allocations: 129.7 kB / 0.6586 GB, free: 10.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.5742, allocations: 341.9 kB / 0.6589 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/0.5754, allocations: 0.89 MB / 0.6598 GB, free: 9.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.577, allocations: 1.517 MB / 0.6613 GB, free: 7.875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.5797, allocations: 2.366 MB / 0.6636 GB, free: 5.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5797, allocations: 4 kB / 0.6636 GB, free: 5.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003608/0.5833, allocations: 2.5 MB / 0.666 GB, free: 2.738 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000424/0.5838, allocations: 0.644 MB / 0.6667 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.237e-05/0.5838, allocations: 20 kB / 0.6667 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/0.5838, allocations: 31.94 kB / 0.6667 GB, free: 1.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.5854, allocations: 467.2 kB / 0.6672 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.762e-05/0.5855, allocations: 39.86 kB / 0.6672 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.587, allocations: 341.9 kB / 0.6675 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.5871, allocations: 79.98 kB / 0.6676 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.5872, allocations: 9.719 kB / 0.6676 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002935/0.5901, allocations: 2.218 MB / 0.6698 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.5901, allocations: 24.16 kB / 0.6698 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.5902, allocations: 31.98 kB / 0.6698 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.5915, allocations: 443.2 kB / 0.6703 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-05/0.5916, allocations: 43.84 kB / 0.6703 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.5927, allocations: 254.6 kB / 0.6705 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5929, allocations: 75.98 kB / 0.6706 GB, free: 13.79 MB / 0.4981 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.00198/0.5948, allocations: 1.281 MB / 0.6719 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.5951, allocations: 98.78 kB / 0.672 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.5975, allocations: 1.568 MB / 0.6735 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.5975, allocations: 8 kB / 0.6735 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.5975, allocations: 7.938 kB / 0.6735 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.5976, allocations: 3.984 kB / 0.6735 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006749/0.6043, allocations: 4.507 MB / 0.6779 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.6043, allocations: 4 kB / 0.6779 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.6053, allocations: 247.6 kB / 0.6782 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.455e-05/0.6053, allocations: 11.98 kB / 0.6782 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-05/0.6054, allocations: 16 kB / 0.6782 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.6054, allocations: 4 kB / 0.6782 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6054, allocations: 4 kB / 0.6782 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.6075, allocations: 1.921 MB / 0.6801 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006015/0.6081, allocations: 363.5 kB / 0.6804 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/0.6084, allocations: 19.94 kB / 0.6804 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.6094, allocations: 123.8 kB / 0.6805 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.6096, allocations: 56.47 kB / 0.6806 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.714e-05/0.6097, allocations: 28 kB / 0.6806 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00131/0.611, allocations: 0.7995 MB / 0.6814 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.611, allocations: 0 / 0.6814 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004075/0.6151, allocations: 1.298 MB / 0.6827 GB, free: 1.258 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 (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.002431/0.6175, allocations: 2.491 MB / 0.6851 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004375/0.6219, allocations: 2.991 MB / 0.688 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.6219, allocations: 4 kB / 0.688 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008733/0.6228, allocations: 0.6555 MB / 0.6887 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6245, allocations: 189.7 kB / 0.6889 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/0.6474, allocations: 16.79 MB / 0.7053 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.6498, allocations: 2.218 MB / 0.7074 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002437/0.6523, allocations: 1.097 MB / 0.7085 GB, free: 6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.6534, allocations: 0.8351 MB / 0.7093 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.6534, allocations: 0 / 0.7093 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04662/0.7, allocations: 30.16 MB / 0.7388 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/0.7003, allocations: 229.6 kB / 0.739 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.89, allocations: 0 / 0.739 GB, free: 7.109 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/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)