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.001086/0.001086, allocations: 179.2 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.4681/0.4681, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.352/1.352, allocations: 221.3 MB / 348.3 MB, free: 476 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008976, allocations: 98.91 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.207e-05, allocations: 0 / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3846, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5131, allocations: 101.9 MB / 0.6597 GB, free: 2.406 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5134, allocations: 76.8 kB / 0.6598 GB, free: 2.332 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006697/0.5201, allocations: 2.308 MB / 0.6621 GB, free: 36 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5202, allocations: 0 / 0.6621 GB, free: 36 kB / 474.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.5202, allocations: 0 / 0.6621 GB, free: 36 kB / 474.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.0003082/0.5205, allocations: 330.5 kB / 0.6624 GB, free: 15.67 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.5206, allocations: 17.3 kB / 0.6624 GB, free: 15.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.5206, allocations: 7.953 kB / 0.6624 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.5207, allocations: 167 kB / 0.6626 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.5208, allocations: 0 / 0.6626 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.5208, allocations: 0 / 0.6626 GB, free: 15.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.5209, allocations: 33.64 kB / 0.6626 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5209, allocations: 0 / 0.6626 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.5209, allocations: 0 / 0.6626 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.5209, allocations: 3.953 kB / 0.6626 GB, free: 15.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.521, allocations: 8 kB / 0.6626 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.5211, allocations: 161.6 kB / 0.6628 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.247e-05/0.5212, allocations: 22.61 kB / 0.6628 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.5212, allocations: 8.922 kB / 0.6628 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.5213, allocations: 0 / 0.6628 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.5213, allocations: 39.22 kB / 0.6628 GB, free: 15.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5213, allocations: 8 kB / 0.6628 GB, free: 15.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001332/0.5215, allocations: 29.7 kB / 0.6629 GB, free: 15.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.5215, allocations: 59.41 kB / 0.6629 GB, free: 14.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.5216, allocations: 92.94 kB / 0.663 GB, free: 14.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.5216, allocations: 25.7 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.5217, allocations: 80.14 kB / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.5217, allocations: 7.906 kB / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/0.5217, allocations: 0 / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5218, allocations: 319 kB / 0.6634 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.5219, allocations: 0 / 0.6634 GB, free: 14.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.623e-06/0.5219, allocations: 4 kB / 0.6634 GB, free: 14.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.818e-05/0.5219, allocations: 7.938 kB / 0.6634 GB, free: 14.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5219, allocations: 3.938 kB / 0.6634 GB, free: 14.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.645e-05/0.522, allocations: 37.69 kB / 0.6635 GB, free: 14.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.522, allocations: 4 kB / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.522, allocations: 0 / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.522, allocations: 96 / 0.6635 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.5222, allocations: 19.98 kB / 0.6635 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003566/0.5226, allocations: 0.586 MB / 0.6641 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.688e-05/0.5226, allocations: 3.938 kB / 0.6641 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.5226, allocations: 4 kB / 0.6641 GB, free: 13.75 MB / 490.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.265e-05/0.5227, allocations: 102.2 kB / 0.6642 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.5227, allocations: 8.125 kB / 0.6642 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.935e-05/0.5228, allocations: 44.81 kB / 0.6642 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5228, allocations: 3.953 kB / 0.6642 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5228, allocations: 0 / 0.6642 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.5228, allocations: 0 / 0.6642 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.315e-05/0.5229, allocations: 153.6 kB / 0.6644 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5229, allocations: 0 / 0.6644 GB, free: 13.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.523, allocations: 8 kB / 0.6644 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.523, allocations: 0 / 0.6644 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.523, allocations: 4 kB / 0.6644 GB, free: 13.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002667/0.5233, allocations: 0.5941 MB / 0.665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5233, allocations: 0 / 0.665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.184e-05/0.5234, allocations: 65.16 kB / 0.665 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.501e-05/0.5234, allocations: 81.06 kB / 0.6651 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5234, allocations: 8.109 kB / 0.6651 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.5235, allocations: 0 / 0.6651 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/0.5235, allocations: 4 kB / 0.6651 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.5235, allocations: 0 / 0.6651 GB, free: 12.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.457e-05/0.5235, allocations: 80.25 kB / 0.6652 GB, free: 12.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5235, allocations: 0 / 0.6652 GB, free: 12.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.5237, allocations: 12 kB / 0.6652 GB, free: 12.47 MB / 490.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.000197/0.5239, allocations: 111.2 kB / 0.6653 GB, free: 12.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.5241, allocations: 20.09 kB / 0.6653 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.5241, allocations: 4 kB / 0.6653 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.493e-05/0.5242, allocations: 15.92 kB / 0.6654 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001047/0.5243, allocations: 8.266 kB / 0.6654 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001679/0.5245, allocations: 61.48 kB / 0.6654 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.5247, allocations: 0.677 MB / 0.6661 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.754e-05/0.5247, allocations: 6.375 kB / 0.6661 GB, free: 11.52 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.243e-05/0.5247, allocations: 11.44 kB / 0.6661 GB, free: 11.51 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5248, allocations: 0 / 0.6661 GB, free: 11.51 MB / 490.7 MB Notification: Performance of Templates: time 0.002272/0.527, allocations: 423.6 kB / 0.6665 GB, free: 11.12 MB / 490.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)