Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7447/0.7447, allocations: 140.1 MB / 156 MB, free: 5.168 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.0009993/0.0009991, allocations: 170.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.419/1.419, allocations: 205.4 MB / 426.4 MB, free: 8.367 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.0009715/0.0009716, allocations: 89.45 kB / 0.4945 GB, free: 8.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.002321/0.002321, allocations: 274.3 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006804/0.0006805, allocations: 27.98 kB / 0.662 GB, free: 6.781 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4059, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1239/0.5298, allocations: 108.8 MB / 0.8457 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.5302, allocations: 83.94 kB / 0.8458 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5457, allocations: 5.364 MB / 0.8511 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5457, allocations: 4 kB / 0.8511 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5457, allocations: 4 kB / 0.8511 GB, free: 11.92 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003385/0.5461, allocations: 347.5 kB / 0.8514 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.5461, allocations: 12.03 kB / 0.8514 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.5462, allocations: 8.828 kB / 0.8514 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.5463, allocations: 160.4 kB / 0.8516 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5463, allocations: 12.38 kB / 0.8516 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.5463, allocations: 384 / 0.8516 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.5464, allocations: 46.19 kB / 0.8516 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.5464, allocations: 192 / 0.8516 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.5464, allocations: 3.938 kB / 0.8516 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5464, allocations: 0 / 0.8516 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.404e-05/0.5465, allocations: 15.98 kB / 0.8517 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.5468, allocations: 252.9 kB / 0.8519 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.547, allocations: 50.62 kB / 0.8519 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.5471, allocations: 16.86 kB / 0.852 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.5471, allocations: 7.875 kB / 0.852 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.5471, allocations: 34.56 kB / 0.852 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5471, allocations: 0 / 0.852 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/0.5473, allocations: 57.67 kB / 0.8521 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5473, allocations: 55.41 kB / 0.8521 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.5474, allocations: 101.8 kB / 0.8522 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.5474, allocations: 25.7 kB / 0.8522 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.5475, allocations: 88.05 kB / 0.8523 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.767e-06/0.5475, allocations: 3.906 kB / 0.8523 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.5475, allocations: 4 kB / 0.8523 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.5476, allocations: 318.8 kB / 0.8526 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.5476, allocations: 7.938 kB / 0.8526 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-05/0.5477, allocations: 21.72 kB / 0.8527 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.819e-05/0.5477, allocations: 33.7 kB / 0.8527 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5477, allocations: 0 / 0.8527 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.492e-05/0.5478, allocations: 61.47 kB / 0.8527 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5478, allocations: 9.562 kB / 0.8528 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5478, allocations: 0 / 0.8528 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.5479, allocations: 128 / 0.8528 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.5479, allocations: 15.94 kB / 0.8528 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.5479, allocations: 4.031 kB / 0.8528 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.548, allocations: 4 kB / 0.8528 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.548, allocations: 4 kB / 0.8528 GB, free: 9.941 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 prepare postOptimizeDAE: time 6.078e-05/0.548, allocations: 109.8 kB / 0.8529 GB, free: 9.824 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.5481, allocations: 7.984 kB / 0.8529 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.5482, allocations: 57.12 kB / 0.8529 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5482, allocations: 0 / 0.8529 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.5482, allocations: 4 kB / 0.853 GB, free: 9.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5482, allocations: 4 kB / 0.853 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.5484, allocations: 165.5 kB / 0.8531 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5484, allocations: 0 / 0.8531 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.5484, allocations: 12 kB / 0.8531 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5484, allocations: 3.984 kB / 0.8531 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.5484, allocations: 0 / 0.8531 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5484, allocations: 0 / 0.8531 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5484, allocations: 0 / 0.8531 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.5485, allocations: 159.4 kB / 0.8533 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.862e-05/0.5486, allocations: 77.11 kB / 0.8534 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.5486, allocations: 0 / 0.8534 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.776e-05/0.5487, allocations: 4.516 kB / 0.8534 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.5487, allocations: 0 / 0.8534 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.5487, allocations: 0 / 0.8534 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.441e-05/0.5487, allocations: 87.25 kB / 0.8534 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5487, allocations: 0 / 0.8534 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002622/0.549, allocations: 28 kB / 0.8535 GB, free: 9.137 MB / 0.5261 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 (4): * Single equations (assignments): 4 * 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.0001628/0.5492, allocations: 127.2 kB / 0.8536 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.901e-05/0.5493, allocations: 27.92 kB / 0.8536 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.5493, allocations: 0 / 0.8536 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.5493, allocations: 12 kB / 0.8536 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.5495, allocations: 7.922 kB / 0.8536 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002519/0.5497, allocations: 128.6 kB / 0.8538 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.55, allocations: 0.681 MB / 0.8544 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.406e-05/0.55, allocations: 7.906 kB / 0.8544 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.55, allocations: 11.44 kB / 0.8544 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/0.55, allocations: 0 / 0.8544 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of Templates: time 0.002138/0.5522, allocations: 0.4892 MB / 0.8549 GB, free: 7.594 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)