Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.001181, allocations: 98.88 kB / 16.39 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 196.1 kB / 17.33 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7958/0.7958, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 73.58 kB / 0.5731 GB, free: 27.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1717, allocations: 78.69 MB / 0.6499 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002195/0.174, allocations: 1.281 MB / 0.6512 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009992/0.175, allocations: 0.6013 MB / 0.6518 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.175, allocations: 0 / 0.6518 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.175, allocations: 3.938 kB / 0.6518 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.034e-05/0.1751, allocations: 4 kB / 0.6518 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000537/0.1756, allocations: 137.4 kB / 0.6519 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.1757, allocations: 23.86 kB / 0.6519 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.1758, allocations: 11.92 kB / 0.6519 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.1758, allocations: 15.92 kB / 0.6519 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.717e-05/0.1759, allocations: 8 kB / 0.6519 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1759, allocations: 0 / 0.6519 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.1764, allocations: 339.3 kB / 0.6523 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1764, allocations: 8 kB / 0.6523 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.1765, allocations: 11.92 kB / 0.6523 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1767, allocations: 143.6 kB / 0.6524 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1767, allocations: 0 / 0.6524 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1767, allocations: 0 / 0.6524 GB, free: 1.543 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1767, allocations: 0 / 0.6524 GB, free: 1.543 MB / 494.1 MB 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.0004572/0.1772, allocations: 375 kB / 0.6528 GB, free: 1.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1773, allocations: 8.031 kB / 0.6528 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.1773, allocations: 4.938 kB / 0.6528 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1774, allocations: 160.4 kB / 0.653 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1775, allocations: 384 / 0.653 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1775, allocations: 8.375 kB / 0.653 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1776, allocations: 45.62 kB / 0.653 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1776, allocations: 3.938 kB / 0.653 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1776, allocations: 3.984 kB / 0.653 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1776, allocations: 4 kB / 0.653 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.1777, allocations: 15.98 kB / 0.653 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.178, allocations: 260.8 kB / 0.6533 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.1783, allocations: 46.62 kB / 0.6533 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1783, allocations: 16.86 kB / 0.6533 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.1783, allocations: 4 kB / 0.6533 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1784, allocations: 34.56 kB / 0.6534 GB, free: 420 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.1784, allocations: 0 / 0.6534 GB, free: 420 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001763/0.1786, allocations: 61.61 kB / 0.6534 GB, free: 352 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.1786, allocations: 51.41 kB / 0.6535 GB, free: 288 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.538e-05/0.1787, allocations: 93.86 kB / 0.6536 GB, free: 184 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1787, allocations: 29.7 kB / 0.6536 GB, free: 148 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.511e-05/0.1788, allocations: 84.14 kB / 0.6537 GB, free: 60 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.1788, allocations: 19.83 kB / 0.6537 GB, free: 40 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1788, allocations: 17.72 kB / 0.6537 GB, free: 16 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.1789, allocations: 314.8 kB / 0.654 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.179, allocations: 8 kB / 0.654 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.179, allocations: 25.7 kB / 0.654 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.1791, allocations: 29.66 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1791, allocations: 4 kB / 0.6541 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.952e-05/0.1792, allocations: 57.64 kB / 0.6541 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1792, allocations: 11.94 kB / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1792, allocations: 0 / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1792, allocations: 0 / 0.6541 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.857e-05/0.1793, allocations: 15.92 kB / 0.6542 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1793, allocations: 128 / 0.6542 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.1793, allocations: 4 kB / 0.6542 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1793, allocations: 4 kB / 0.6542 GB, free: 15.52 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.185e-05/0.1794, allocations: 121.8 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1794, allocations: 4 kB / 0.6543 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.1796, allocations: 57.17 kB / 0.6543 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1796, allocations: 4.469 kB / 0.6543 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1796, allocations: 3.938 kB / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1796, allocations: 0 / 0.6544 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1798, allocations: 161.5 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1798, allocations: 0 / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.1798, allocations: 8 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1798, allocations: 7.984 kB / 0.6545 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1798, allocations: 0 / 0.6545 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1798, allocations: 0 / 0.6545 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1799, allocations: 0 / 0.6545 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.18, allocations: 155.4 kB / 0.6547 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.18, allocations: 81.11 kB / 0.6547 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1801, allocations: 3.984 kB / 0.6548 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.799e-05/0.1801, allocations: 0 / 0.6548 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.1801, allocations: 4 kB / 0.6548 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1801, allocations: 8 kB / 0.6548 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.1802, allocations: 79.22 kB / 0.6548 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1802, allocations: 0 / 0.6548 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003764/0.1806, allocations: 23.88 kB / 0.6549 GB, free: 14.71 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/0.1808, allocations: 115.2 kB / 0.655 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.1809, allocations: 23.94 kB / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1809, allocations: 0 / 0.655 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.1809, allocations: 23.98 kB / 0.655 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1811, allocations: 2.188 kB / 0.655 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.1814, allocations: 126.6 kB / 0.6551 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.1817, allocations: 0.6768 MB / 0.6558 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.1817, allocations: 4 kB / 0.6558 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.1817, allocations: 11.44 kB / 0.6558 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1818, allocations: 0 / 0.6558 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002604/0.1844, allocations: 0.5085 MB / 0.6563 GB, free: 13.17 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)