Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 177 kB / 8.005 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.5492/0.5492, allocations: 90.92 MB / 99.35 MB, free: 2.176 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.505/1.505, allocations: 221.5 MB / 343.2 MB, free: 1.59 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.0009802/0.0009803, allocations: 95.84 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.51e-05, allocations: 4 kB / 494.5 MB, free: 52.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.145, allocations: 72.31 MB / 0.5535 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.6557, allocations: 101.3 MB / 0.6524 GB, free: 9.012 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.656, allocations: 78.19 kB / 0.6525 GB, free: 8.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006418/0.6624, allocations: 2.3 MB / 0.6547 GB, free: 7.031 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6624, allocations: 0 / 0.6547 GB, free: 7.031 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.6624, allocations: 8 kB / 0.6547 GB, free: 7.023 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.0002699/0.6627, allocations: 326.5 kB / 0.6551 GB, free: 6.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.6627, allocations: 8.031 kB / 0.6551 GB, free: 6.652 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.624e-05/0.6628, allocations: 4.578 kB / 0.6551 GB, free: 6.648 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.6629, allocations: 163 kB / 0.6552 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.6629, allocations: 4 kB / 0.6552 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.6629, allocations: 0 / 0.6552 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.394e-05/0.663, allocations: 0 / 0.6552 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.183e-05/0.663, allocations: 41 kB / 0.6553 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.6631, allocations: 3.938 kB / 0.6553 GB, free: 6.398 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.6631, allocations: 3.953 kB / 0.6553 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6631, allocations: 2.375 kB / 0.6553 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.6632, allocations: 130.2 kB / 0.6554 GB, free: 6.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.892e-05/0.6633, allocations: 21.86 kB / 0.6554 GB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.862e-05/0.6633, allocations: 12.91 kB / 0.6554 GB, free: 6.188 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.6633, allocations: 0 / 0.6554 GB, free: 6.188 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.6634, allocations: 34.56 kB / 0.6555 GB, free: 6.145 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6634, allocations: 0 / 0.6555 GB, free: 6.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.6635, allocations: 36.77 kB / 0.6555 GB, free: 6.105 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.6635, allocations: 55.34 kB / 0.6556 GB, free: 6.039 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.139e-05/0.6636, allocations: 89 kB / 0.6556 GB, free: 5.945 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.6636, allocations: 25.7 kB / 0.6557 GB, free: 5.914 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.6637, allocations: 80.3 kB / 0.6557 GB, free: 5.832 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.6637, allocations: 15.45 kB / 0.6558 GB, free: 5.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-06/0.6637, allocations: 0 / 0.6558 GB, free: 5.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6638, allocations: 314.8 kB / 0.6561 GB, free: 5.504 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/0.6638, allocations: 4 kB / 0.6561 GB, free: 5.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.6638, allocations: 3.938 kB / 0.6561 GB, free: 5.496 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.409e-05/0.6639, allocations: 4 kB / 0.6561 GB, free: 5.492 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6639, allocations: 1.125 kB / 0.6561 GB, free: 5.492 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.463e-05/0.6639, allocations: 37.52 kB / 0.6561 GB, free: 5.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.664, allocations: 12.08 kB / 0.6561 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.664, allocations: 0 / 0.6561 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.664, allocations: 0 / 0.6561 GB, free: 5.441 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.6641, allocations: 8 kB / 0.6561 GB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003322/0.6645, allocations: 0.5889 MB / 0.6567 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.6645, allocations: 0 / 0.6567 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.6645, allocations: 3.984 kB / 0.6567 GB, free: 4.82 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 7.285e-05/0.6646, allocations: 107.5 kB / 0.6568 GB, free: 4.711 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.6646, allocations: 4.031 kB / 0.6568 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.834e-05/0.6647, allocations: 41.08 kB / 0.6568 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6647, allocations: 7.922 kB / 0.6569 GB, free: 4.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.6647, allocations: 3.953 kB / 0.6569 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.6647, allocations: 0 / 0.6569 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.6648, allocations: 130.2 kB / 0.657 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.6648, allocations: 0 / 0.657 GB, free: 4.492 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.183e-05/0.6649, allocations: 11.95 kB / 0.657 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.6649, allocations: 11.98 kB / 0.657 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.6649, allocations: 0.5625 kB / 0.657 GB, free: 4.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002848/0.6652, allocations: 0.5853 MB / 0.6576 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.6652, allocations: 0 / 0.6576 GB, free: 3.867 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.906e-05/0.6653, allocations: 64.12 kB / 0.6576 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.648e-05/0.6653, allocations: 85.11 kB / 0.6577 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.6654, allocations: 0 / 0.6577 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.469e-05/0.6654, allocations: 3.953 kB / 0.6577 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.6654, allocations: 0 / 0.6577 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.6654, allocations: 3.938 kB / 0.6577 GB, free: 3.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.192e-05/0.6654, allocations: 79.28 kB / 0.6578 GB, free: 3.602 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6655, allocations: 0 / 0.6578 GB, free: 3.602 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002231/0.6657, allocations: 15.98 kB / 0.6578 GB, free: 3.586 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.0001642/0.6659, allocations: 111.3 kB / 0.6579 GB, free: 3.465 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.666, allocations: 19.8 kB / 0.6579 GB, free: 3.449 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.666, allocations: 0 / 0.6579 GB, free: 3.449 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.6661, allocations: 15.98 kB / 0.658 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.6662, allocations: 2.25 kB / 0.658 GB, free: 3.434 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001669/0.6664, allocations: 49.92 kB / 0.658 GB, free: 3.363 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.6666, allocations: 0.6808 MB / 0.6587 GB, free: 2.656 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.6666, allocations: 0 / 0.6587 GB, free: 2.656 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.6667, allocations: 11.44 kB / 0.6587 GB, free: 2.645 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6667, allocations: 0 / 0.6587 GB, free: 2.645 MB / 458.7 MB Notification: Performance of Templates: time 0.002132/0.6688, allocations: 410.2 kB / 0.6591 GB, free: 2.266 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)