Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 108 kB / 15.6 MB, free: 132 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.001928/0.001928, allocations: 194 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7451 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002459/0.002459, allocations: 66.03 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3218, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00417/0.326, allocations: 2.311 MB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006472/0.3325, allocations: 3.794 MB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.3329, allocations: 7.938 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005584/0.3385, allocations: 2.999 MB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008703/0.3394, allocations: 398.5 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3405, allocations: 0.4951 MB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004108/0.3446, allocations: 3.093 MB / 1.081 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3447, allocations: 60.64 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.345, allocations: 195.4 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.3453, allocations: 203.2 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.14e-05/0.3453, allocations: 20 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3465, allocations: 0.7525 MB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.3467, allocations: 207.4 kB / 1.082 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3469, allocations: 242.6 kB / 1.083 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.348, allocations: 1.005 MB / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.348, allocations: 0 / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.348, allocations: 0 / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.348, allocations: 0 / 1.084 GB, free: 10.69 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001275/0.3493, allocations: 0.8828 MB / 1.084 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3493, allocations: 12.03 kB / 1.084 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.3507, allocations: 208 kB / 1.085 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.3524, allocations: 0.956 MB / 1.086 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.866e-05/0.3525, allocations: 16 kB / 1.086 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.3525, allocations: 12 kB / 1.086 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.3531, allocations: 262.4 kB / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.3531, allocations: 0 / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.3531, allocations: 0 / 1.086 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.3532, allocations: 4 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.3539, allocations: 235.8 kB / 1.086 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.3551, allocations: 0.8353 MB / 1.087 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.3559, allocations: 314.5 kB / 1.087 GB, free: 6.816 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003614/0.3563, allocations: 128.8 kB / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3563, allocations: 0 / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3563, allocations: 34.56 kB / 1.087 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 9.91e-07/0.3564, allocations: 0 / 1.087 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001256/0.3576, allocations: 444.7 kB / 1.088 GB, free: 6.203 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.3577, allocations: 51.41 kB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.3584, allocations: 0.7381 MB / 1.089 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3584, allocations: 29.7 kB / 1.089 GB, free: 5.359 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3587, allocations: 228.7 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.3587, allocations: 39.55 kB / 1.089 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.3589, allocations: 154 kB / 1.089 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3591, allocations: 374.8 kB / 1.089 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.3598, allocations: 438.9 kB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.3606, allocations: 0.5316 MB / 1.09 GB, free: 3.562 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3619, allocations: 0.8703 MB / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3619, allocations: 0 / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001664/0.3636, allocations: 1.076 MB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3636, allocations: 11.98 kB / 1.092 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3636, allocations: 4.219 kB / 1.092 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3637, allocations: 4 kB / 1.092 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.3641, allocations: 111.8 kB / 1.092 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.3642, allocations: 4 kB / 1.092 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3646, allocations: 75.28 kB / 1.092 GB, free: 1.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.3646, allocations: 35.98 kB / 1.092 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007676/0.3654, allocations: 0.5364 MB / 1.093 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006599/0.3661, allocations: 472.5 kB / 1.093 GB, free: 320 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.3673, allocations: 0.7276 MB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.3673, allocations: 4 kB / 1.094 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001488/0.3688, allocations: 0.9143 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3688, allocations: 8.594 kB / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3688, allocations: 4 kB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/0.3688, allocations: 7.938 kB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.3693, allocations: 107.9 kB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3693, allocations: 7.938 kB / 1.095 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.3697, allocations: 63.56 kB / 1.095 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.3697, allocations: 27.98 kB / 1.095 GB, free: 14.41 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.000138/0.3699, allocations: 200.7 kB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.37, allocations: 47.34 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.371, allocations: 366.6 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.371, allocations: 0 / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.371, allocations: 0 / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.371, allocations: 7.938 kB / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.3715, allocations: 405.2 kB / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3715, allocations: 0 / 1.096 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.3718, allocations: 47.95 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3718, allocations: 3.938 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.3718, allocations: 8 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3718, allocations: 0 / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3718, allocations: 3.984 kB / 1.096 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008422/0.3727, allocations: 418.7 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3728, allocations: 156.2 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.3729, allocations: 7.984 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.3732, allocations: 23.92 kB / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.3733, allocations: 7.984 kB / 1.097 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.3733, allocations: 12 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005267/0.3738, allocations: 0.4912 MB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3738, allocations: 0 / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00088/0.3747, allocations: 315.9 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * 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.0007865/0.3755, allocations: 378.8 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.3775, allocations: 1.145 MB / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3775, allocations: 192 / 1.099 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.3779, allocations: 135.8 kB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.3788, allocations: 209.2 kB / 1.099 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001476/0.3803, allocations: 0.9428 MB / 1.1 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/0.3807, allocations: 0.8934 MB / 1.101 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006861/0.3814, allocations: 196.1 kB / 1.101 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3816, allocations: 51.41 kB / 1.101 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.3816, allocations: 3.938 kB / 1.101 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of Templates: time 0.02033/0.402, allocations: 12.3 MB / 1.113 GB, free: 11.67 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)