Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4919/0.4919, allocations: 90.92 MB / 99.35 MB, free: 2.199 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009428/0.0009428, allocations: 95.92 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.367e-05/1.371e-05, allocations: 4 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5174/0.6585, allocations: 101.4 MB / 0.6525 GB, free: 8.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.6588, allocations: 77.52 kB / 0.6526 GB, free: 8.832 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009463/0.6683, allocations: 3.477 MB / 0.656 GB, free: 5.945 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6683, allocations: 0 / 0.656 GB, free: 5.945 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.6683, allocations: 0 / 0.656 GB, free: 5.945 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000265/0.6686, allocations: 338.4 kB / 0.6563 GB, free: 5.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.6686, allocations: 8.031 kB / 0.6563 GB, free: 5.562 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.6687, allocations: 4.578 kB / 0.6563 GB, free: 5.559 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.6688, allocations: 171 kB / 0.6565 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.6688, allocations: 0 / 0.6565 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.6688, allocations: 0 / 0.6565 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.146e-05/0.6689, allocations: 11.19 kB / 0.6565 GB, free: 5.344 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.974e-05/0.6689, allocations: 29.7 kB / 0.6565 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.669, allocations: 0 / 0.6565 GB, free: 5.309 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.669, allocations: 3.953 kB / 0.6565 GB, free: 5.305 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.669, allocations: 0 / 0.6565 GB, free: 5.305 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.6691, allocations: 129.2 kB / 0.6566 GB, free: 5.145 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.6692, allocations: 30.61 kB / 0.6567 GB, free: 5.105 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.6692, allocations: 4.859 kB / 0.6567 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.6692, allocations: 0 / 0.6567 GB, free: 5.098 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.6692, allocations: 42.05 kB / 0.6567 GB, free: 5.051 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.6692, allocations: 0 / 0.6567 GB, free: 5.051 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001052/0.6694, allocations: 37.62 kB / 0.6568 GB, free: 5.008 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.6694, allocations: 55.44 kB / 0.6568 GB, free: 4.941 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.6695, allocations: 89 kB / 0.6569 GB, free: 4.848 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.6695, allocations: 25.7 kB / 0.6569 GB, free: 4.816 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.987e-05/0.6695, allocations: 82.89 kB / 0.657 GB, free: 4.734 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.6695, allocations: 3.906 kB / 0.657 GB, free: 4.73 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.6696, allocations: 4 kB / 0.657 GB, free: 4.727 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.6697, allocations: 314.8 kB / 0.6573 GB, free: 4.41 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.6697, allocations: 3.188 kB / 0.6573 GB, free: 4.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.176e-06/0.6697, allocations: 8.125 kB / 0.6573 GB, free: 4.402 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.351e-05/0.6697, allocations: 3.984 kB / 0.6573 GB, free: 4.398 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6697, allocations: 0.6562 kB / 0.6573 GB, free: 4.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.283e-05/0.6698, allocations: 37.64 kB / 0.6574 GB, free: 4.355 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.6698, allocations: 11.94 kB / 0.6574 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6698, allocations: 0 / 0.6574 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.6698, allocations: 0 / 0.6574 GB, free: 4.344 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.67, allocations: 11.98 kB / 0.6574 GB, free: 4.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003292/0.6703, allocations: 0.5885 MB / 0.658 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.628e-05/0.6704, allocations: 3.938 kB / 0.658 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.6704, allocations: 0 / 0.658 GB, free: 3.723 MB / 458.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.6704, allocations: 105 kB / 0.6581 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-06/0.6705, allocations: 0 / 0.6581 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.6706, allocations: 48.69 kB / 0.6581 GB, free: 3.566 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.6706, allocations: 4.125 kB / 0.6581 GB, free: 3.562 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6706, allocations: 3.953 kB / 0.6581 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.6706, allocations: 0 / 0.6581 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.748e-05/0.6707, allocations: 134.1 kB / 0.6582 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6707, allocations: 0 / 0.6582 GB, free: 3.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.053e-05/0.6707, allocations: 8 kB / 0.6582 GB, free: 3.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6708, allocations: 0 / 0.6582 GB, free: 3.383 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.6708, allocations: 4 kB / 0.6583 GB, free: 3.379 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000268/0.671, allocations: 0.5917 MB / 0.6588 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6711, allocations: 4.625 kB / 0.6588 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.74e-05/0.6711, allocations: 60.52 kB / 0.6589 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.6712, allocations: 81.09 kB / 0.659 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.6712, allocations: 0 / 0.659 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.6712, allocations: 3.953 kB / 0.659 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.726e-05/0.6712, allocations: 4 kB / 0.659 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.6712, allocations: 4.125 kB / 0.659 GB, free: 2.582 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.709e-05/0.6713, allocations: 75.28 kB / 0.6591 GB, free: 2.508 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6713, allocations: 0 / 0.6591 GB, free: 2.508 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000185/0.6715, allocations: 11.94 kB / 0.6591 GB, free: 2.496 MB / 458.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001504/0.6716, allocations: 111.2 kB / 0.6592 GB, free: 2.375 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.6718, allocations: 19.23 kB / 0.6592 GB, free: 2.359 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.6718, allocations: 0 / 0.6592 GB, free: 2.359 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.899e-05/0.6718, allocations: 16.09 kB / 0.6592 GB, free: 2.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.672, allocations: 10.22 kB / 0.6592 GB, free: 2.336 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001429/0.6721, allocations: 55.27 kB / 0.6593 GB, free: 2.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.6723, allocations: 0.6768 MB / 0.6599 GB, free: 1.559 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.6724, allocations: 0 / 0.6599 GB, free: 1.559 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.272e-05/0.6724, allocations: 11.44 kB / 0.6599 GB, free: 1.547 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6724, allocations: 0 / 0.6599 GB, free: 1.547 MB / 458.7 MB Notification: Performance of Templates: time 0.002012/0.6744, allocations: 402.4 kB / 0.6603 GB, free: 1.168 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)