Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.782/0.782, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001018, allocations: 175.9 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008159/0.000816, allocations: 93.48 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00167/0.00167, allocations: 266.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004943/0.0004944, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.41, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.552, allocations: 108.1 MB / 0.845 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.5523, allocations: 75.95 kB / 0.8451 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.009407/0.5617, allocations: 3.225 MB / 0.8482 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.456e-06/0.5617, allocations: 0 / 0.8482 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.5618, allocations: 0 / 0.8482 GB, free: 14.83 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006055/0.5624, allocations: 399.1 kB / 0.8486 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.5625, allocations: 16.03 kB / 0.8486 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007952/0.5633, allocations: 88.73 kB / 0.8487 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.5635, allocations: 174.1 kB / 0.8489 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.5635, allocations: 8.375 kB / 0.8489 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/0.5636, allocations: 4.375 kB / 0.8489 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.5642, allocations: 179.4 kB / 0.8491 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5642, allocations: 4.188 kB / 0.8491 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.5642, allocations: 3.938 kB / 0.8491 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5643, allocations: 0 / 0.8491 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006926/0.565, allocations: 183.8 kB / 0.8493 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.5661, allocations: 452.4 kB / 0.8497 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006968/0.5668, allocations: 158.5 kB / 0.8498 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.5672, allocations: 84.91 kB / 0.8499 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.5672, allocations: 7.984 kB / 0.8499 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.5673, allocations: 38.5 kB / 0.85 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.5673, allocations: 0 / 0.85 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.001145/0.5684, allocations: 285.3 kB / 0.8502 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.5685, allocations: 55.34 kB / 0.8503 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.5687, allocations: 159.9 kB / 0.8504 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.5687, allocations: 25.7 kB / 0.8505 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.987e-05/0.5688, allocations: 96.05 kB / 0.8506 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.5688, allocations: 23.73 kB / 0.8506 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.5688, allocations: 0 / 0.8506 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.569, allocations: 322.8 kB / 0.8509 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000363/0.5693, allocations: 79.92 kB / 0.851 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.5697, allocations: 83.92 kB / 0.851 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/0.5703, allocations: 160.7 kB / 0.8512 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.5704, allocations: 0 / 0.8512 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007312/0.5711, allocations: 209.4 kB / 0.8514 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.5712, allocations: 97.52 kB / 0.8515 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5712, allocations: 0 / 0.8515 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5712, allocations: 0 / 0.8515 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.5715, allocations: 43.95 kB / 0.8515 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5715, allocations: 0 / 0.8515 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.5717, allocations: 39.88 kB / 0.8516 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.5718, allocations: 11.92 kB / 0.8516 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.5718, allocations: 4 kB / 0.8516 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002042/0.572, allocations: 68.25 kB / 0.8516 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-06/0.572, allocations: 4 kB / 0.8516 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.572, allocations: 0 / 0.8516 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.076e-05/0.5721, allocations: 19.98 kB / 0.8517 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5721, allocations: 3.984 kB / 0.8517 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.5722, allocations: 15.84 kB / 0.8517 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.5722, allocations: 7.938 kB / 0.8517 GB, free: 11.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001354/0.5723, allocations: 197.1 kB / 0.8519 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.5724, allocations: 11.84 kB / 0.8519 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.43e-05/0.5725, allocations: 12.31 kB / 0.8519 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5725, allocations: 4 kB / 0.8519 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5725, allocations: 0 / 0.8519 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5725, allocations: 3.938 kB / 0.8519 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5735, allocations: 496 kB / 0.8524 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.5736, allocations: 8 kB / 0.8524 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.5738, allocations: 36.2 kB / 0.8524 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.5738, allocations: 3.938 kB / 0.8524 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.5738, allocations: 15.98 kB / 0.8524 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5738, allocations: 0 / 0.8524 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5739, allocations: 4 kB / 0.8525 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.5747, allocations: 309 kB / 0.8527 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.655e-05/0.5748, allocations: 96.91 kB / 0.8528 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.5748, allocations: 11.92 kB / 0.8529 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.5751, allocations: 31.97 kB / 0.8529 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.5751, allocations: 4 kB / 0.8529 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.5751, allocations: 7.922 kB / 0.8529 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.194e-05/0.5752, allocations: 122.7 kB / 0.853 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5752, allocations: 0 / 0.853 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003334/0.5756, allocations: 35.94 kB / 0.853 GB, free: 9.574 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001599/0.5757, allocations: 103.2 kB / 0.8531 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.5766, allocations: 211.8 kB / 0.8533 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5766, allocations: 0 / 0.8533 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.577, allocations: 87.98 kB / 0.8534 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.5773, allocations: 10.94 kB / 0.8534 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.5784, allocations: 328.5 kB / 0.8538 GB, free: 8.809 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5787, allocations: 0.6926 MB / 0.8544 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.5788, allocations: 11.98 kB / 0.8544 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.5789, allocations: 23.42 kB / 0.8545 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.5789, allocations: 0 / 0.8545 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of Templates: time 0.003854/0.5828, allocations: 1.29 MB / 0.8557 GB, free: 6.766 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)