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.0009671/0.0009672, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4837/0.4837, allocations: 90.81 MB / 104.5 MB, free: 13.89 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.3 MB / 348.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008783, allocations: 102.4 kB / 421.2 MB, free: 5.707 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.96e-05, allocations: 4 kB / 0.4896 GB, free: 46.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1445, allocations: 72.31 MB / 0.5602 GB, free: 6.41 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5115/0.6561, allocations: 102 MB / 0.6599 GB, free: 5.824 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.6563, allocations: 83.06 kB / 0.6599 GB, free: 5.773 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.6667, allocations: 3.495 MB / 0.6634 GB, free: 2.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6668, allocations: 0 / 0.6634 GB, free: 2.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.6668, allocations: 0 / 0.6634 GB, free: 2.82 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.0004286/0.6672, allocations: 337.5 kB / 0.6637 GB, free: 2.449 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.016e-05/0.6673, allocations: 15.98 kB / 0.6637 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.6674, allocations: 3.953 kB / 0.6637 GB, free: 2.43 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.6675, allocations: 163 kB / 0.6639 GB, free: 2.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.6676, allocations: 0 / 0.6639 GB, free: 2.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.6676, allocations: 4 kB / 0.6639 GB, free: 2.227 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.6677, allocations: 41.11 kB / 0.6639 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.6677, allocations: 0 / 0.6639 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6677, allocations: 0 / 0.6639 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6677, allocations: 7.953 kB / 0.6639 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.114e-05/0.6678, allocations: 0 / 0.6639 GB, free: 2.176 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.668, allocations: 149.1 kB / 0.664 GB, free: 1.984 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.847e-05/0.668, allocations: 33.53 kB / 0.6641 GB, free: 1.945 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.6681, allocations: 8.922 kB / 0.6641 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.6681, allocations: 0 / 0.6641 GB, free: 1.934 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6681, allocations: 34.56 kB / 0.6641 GB, free: 1.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6681, allocations: 0 / 0.6641 GB, free: 1.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001354/0.6683, allocations: 33.45 kB / 0.6641 GB, free: 1.855 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.6684, allocations: 55.41 kB / 0.6642 GB, free: 1.789 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.568e-05/0.6684, allocations: 92.98 kB / 0.6643 GB, free: 1.691 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6685, allocations: 29.69 kB / 0.6643 GB, free: 1.656 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.6685, allocations: 84.08 kB / 0.6644 GB, free: 1.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.6686, allocations: 11.16 kB / 0.6644 GB, free: 1.562 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.6686, allocations: 0 / 0.6644 GB, free: 1.562 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6687, allocations: 310.8 kB / 0.6647 GB, free: 1.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.6687, allocations: 7.938 kB / 0.6647 GB, free: 1.242 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.6687, allocations: 0 / 0.6647 GB, free: 1.242 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.98e-05/0.6688, allocations: 8.188 kB / 0.6647 GB, free: 1.234 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6688, allocations: 0 / 0.6647 GB, free: 1.234 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.817e-05/0.6689, allocations: 41.62 kB / 0.6648 GB, free: 1.191 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6689, allocations: 7.938 kB / 0.6648 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6689, allocations: 0 / 0.6648 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.6689, allocations: 0 / 0.6648 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.6691, allocations: 8 kB / 0.6648 GB, free: 1.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004293/0.6695, allocations: 0.5974 MB / 0.6654 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.6695, allocations: 0 / 0.6654 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.6696, allocations: 0 / 0.6654 GB, free: 0.5586 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.407e-05/0.6696, allocations: 101 kB / 0.6655 GB, free: 464 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.6697, allocations: 11.62 kB / 0.6655 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.6698, allocations: 44.88 kB / 0.6655 GB, free: 408 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6698, allocations: 3.953 kB / 0.6655 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6698, allocations: 128 / 0.6655 GB, free: 404 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.6698, allocations: 4 kB / 0.6655 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.6699, allocations: 145.7 kB / 0.6657 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6699, allocations: 0 / 0.6657 GB, free: 204 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.531e-05/0.67, allocations: 15.92 kB / 0.6657 GB, free: 188 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.6701, allocations: 4 kB / 0.6657 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.6701, allocations: 0 / 0.6657 GB, free: 184 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000373/0.6704, allocations: 0.5818 MB / 0.6662 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6705, allocations: 4.094 kB / 0.6662 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.6706, allocations: 71.84 kB / 0.6663 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.6706, allocations: 81.06 kB / 0.6664 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.6706, allocations: 0 / 0.6664 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.338e-05/0.6707, allocations: 0 / 0.6664 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.6707, allocations: 7.984 kB / 0.6664 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.6707, allocations: 0 / 0.6664 GB, free: 15.39 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.6707, allocations: 79.31 kB / 0.6665 GB, free: 15.31 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6707, allocations: 0 / 0.6665 GB, free: 15.31 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000208/0.6709, allocations: 15.94 kB / 0.6665 GB, free: 15.29 MB / 474.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.0002029/0.6711, allocations: 118.6 kB / 0.6666 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.6713, allocations: 15.98 kB / 0.6666 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6713, allocations: 0 / 0.6666 GB, free: 15.16 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.6714, allocations: 16.09 kB / 0.6666 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.6716, allocations: 7.438 kB / 0.6666 GB, free: 15.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.6718, allocations: 62.41 kB / 0.6667 GB, free: 15.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.672, allocations: 0.677 MB / 0.6674 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.143e-05/0.6721, allocations: 0 / 0.6674 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.6721, allocations: 7.438 kB / 0.6674 GB, free: 14.34 MB / 474.7 MB Notification: Performance of SimCode: time 5.71e-07/0.6721, allocations: 0 / 0.6674 GB, free: 14.34 MB / 474.7 MB Notification: Performance of Templates: time 0.0027/0.6748, allocations: 416 kB / 0.6678 GB, free: 13.95 MB / 474.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)