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.0008854/0.0008854, allocations: 95.48 kB / 15.69 MB, free: 476 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 177 kB / 16.57 MB, free: 6.859 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.325/1.325, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6873/0.6873, allocations: 113.8 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003097, allocations: 15.97 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001247/0.1332, allocations: 0.9766 MB / 0.5578 GB, free: 10.65 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008639/0.1341, allocations: 0.5221 MB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.747e-05/0.1341, allocations: 0 / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.1342, allocations: 0 / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1342, allocations: 7.984 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1347, allocations: 123.1 kB / 0.5584 GB, free: 10 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.793e-05/0.1347, allocations: 19.98 kB / 0.5585 GB, free: 9.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.1348, allocations: 3.984 kB / 0.5585 GB, free: 9.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.1348, allocations: 4 kB / 0.5585 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.1349, allocations: 11.92 kB / 0.5585 GB, free: 9.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1349, allocations: 4 kB / 0.5585 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005208/0.1354, allocations: 355.4 kB / 0.5588 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1354, allocations: 11.92 kB / 0.5588 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1355, allocations: 25.7 kB / 0.5589 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.1356, allocations: 96.12 kB / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1356, allocations: 0 / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1357, allocations: 0 / 0.5589 GB, free: 9.473 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1357, allocations: 4 kB / 0.5589 GB, free: 9.469 MB / 430.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.0004059/0.1361, allocations: 355.3 kB / 0.5593 GB, free: 9.074 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1361, allocations: 12.03 kB / 0.5593 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.19e-05/0.1362, allocations: 3.938 kB / 0.5593 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.1363, allocations: 163 kB / 0.5595 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1363, allocations: 3.984 kB / 0.5595 GB, free: 8.855 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1363, allocations: 4 kB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.1364, allocations: 49.64 kB / 0.5595 GB, free: 8.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1364, allocations: 7.938 kB / 0.5595 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1365, allocations: 4 kB / 0.5595 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1365, allocations: 0 / 0.5595 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.1365, allocations: 11.98 kB / 0.5595 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000331/0.1369, allocations: 256.9 kB / 0.5598 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.1371, allocations: 46.56 kB / 0.5598 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1371, allocations: 8 kB / 0.5598 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.1371, allocations: 34.5 kB / 0.5599 GB, free: 8.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1371, allocations: 4 kB / 0.5599 GB, free: 8.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001431/0.1373, allocations: 49.78 kB / 0.5599 GB, free: 8.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.1373, allocations: 55.41 kB / 0.56 GB, free: 8.242 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.771e-05/0.1374, allocations: 97.84 kB / 0.5601 GB, free: 8.137 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1374, allocations: 25.7 kB / 0.5601 GB, free: 8.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.1374, allocations: 84.05 kB / 0.5602 GB, free: 8.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.1375, allocations: 19.84 kB / 0.5602 GB, free: 8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.1375, allocations: 0 / 0.5602 GB, free: 8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1376, allocations: 314.8 kB / 0.5605 GB, free: 7.684 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.1376, allocations: 8 kB / 0.5605 GB, free: 7.676 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.1377, allocations: 25.66 kB / 0.5605 GB, free: 7.645 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.1377, allocations: 7.984 kB / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1377, allocations: 0 / 0.5605 GB, free: 7.637 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.824e-05/0.1378, allocations: 69.55 kB / 0.5606 GB, free: 7.562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1378, allocations: 4 kB / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1378, allocations: 0 / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1378, allocations: 0 / 0.5606 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.1379, allocations: 16.06 kB / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1379, allocations: 0 / 0.5606 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.1379, allocations: 4 kB / 0.5606 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.138, allocations: 0 / 0.5606 GB, free: 7.539 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.249e-05/0.138, allocations: 113.8 kB / 0.5607 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.1381, allocations: 7.984 kB / 0.5607 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1382, allocations: 61.59 kB / 0.5608 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1382, allocations: 0 / 0.5608 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.1382, allocations: 0 / 0.5608 GB, free: 7.34 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1382, allocations: 3.938 kB / 0.5608 GB, free: 7.336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1384, allocations: 153.7 kB / 0.5609 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1384, allocations: 48 / 0.5609 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.1384, allocations: 15.92 kB / 0.561 GB, free: 7.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1384, allocations: 3.953 kB / 0.561 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1385, allocations: 4 kB / 0.561 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1385, allocations: 3.984 kB / 0.561 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1385, allocations: 3.938 kB / 0.561 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.1386, allocations: 147.5 kB / 0.5611 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.1386, allocations: 81.11 kB / 0.5612 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1386, allocations: 3.953 kB / 0.5612 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.1387, allocations: 4 kB / 0.5612 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.1387, allocations: 0 / 0.5612 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.1387, allocations: 8 kB / 0.5612 GB, free: 6.832 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.887e-05/0.1388, allocations: 79.27 kB / 0.5613 GB, free: 6.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1388, allocations: 3.938 kB / 0.5613 GB, free: 6.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.139, allocations: 23.94 kB / 0.5613 GB, free: 6.727 MB / 430.1 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.1392, allocations: 119.9 kB / 0.5614 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.1393, allocations: 23.98 kB / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1393, allocations: 0 / 0.5614 GB, free: 6.574 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.1393, allocations: 11.94 kB / 0.5615 GB, free: 6.562 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1395, allocations: 4.062 kB / 0.5615 GB, free: 6.559 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.1398, allocations: 136.5 kB / 0.5616 GB, free: 6.395 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.14, allocations: 0.6809 MB / 0.5623 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.184e-05/0.1401, allocations: 4 kB / 0.5623 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.804e-05/0.1401, allocations: 11.44 kB / 0.5623 GB, free: 5.672 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1401, allocations: 0 / 0.5623 GB, free: 5.672 MB / 430.1 MB Notification: Performance of Templates: time 0.002289/0.1424, allocations: 495.6 kB / 0.5627 GB, free: 5.199 MB / 430.1 MB 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)