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.001077/0.001077, allocations: 92.86 kB / 15.7 MB, free: 472 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.001412/0.001412, allocations: 171.6 kB / 16.58 MB, free: 5.941 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.386/1.386, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7108/0.7108, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 12 kB / 495.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 77.54 MB / 0.5593 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001335/0.1347, allocations: 0.9886 MB / 0.5603 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009059/0.1356, allocations: 0.5493 MB / 0.5608 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.1357, allocations: 4 kB / 0.5608 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.1357, allocations: 0 / 0.5608 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.1358, allocations: 4 kB / 0.5608 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.1363, allocations: 119.6 kB / 0.561 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.281e-05/0.1363, allocations: 19.86 kB / 0.561 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.1364, allocations: 4 kB / 0.561 GB, free: 7.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.913e-05/0.1364, allocations: 4 kB / 0.561 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.1365, allocations: 15.92 kB / 0.561 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1365, allocations: 4 kB / 0.561 GB, free: 7.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.137, allocations: 335.3 kB / 0.5613 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-06/0.137, allocations: 0 / 0.5613 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1371, allocations: 33.7 kB / 0.5614 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.1373, allocations: 96.11 kB / 0.5614 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1373, allocations: 0 / 0.5614 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1373, allocations: 0 / 0.5614 GB, free: 7.246 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1373, allocations: 0 / 0.5614 GB, free: 7.246 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.0004812/0.1378, allocations: 359.2 kB / 0.5618 GB, free: 6.848 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1378, allocations: 16.03 kB / 0.5618 GB, free: 6.832 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.1378, allocations: 3.906 kB / 0.5618 GB, free: 6.828 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.138, allocations: 159.1 kB / 0.562 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.138, allocations: 0 / 0.562 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.138, allocations: 7.938 kB / 0.562 GB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.1381, allocations: 45.64 kB / 0.562 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.1381, allocations: 0 / 0.562 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1381, allocations: 0 / 0.562 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1381, allocations: 0 / 0.562 GB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.1382, allocations: 15.98 kB / 0.562 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1385, allocations: 257 kB / 0.5623 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.1387, allocations: 46.56 kB / 0.5623 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.1388, allocations: 16.86 kB / 0.5623 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1388, allocations: 0 / 0.5623 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1388, allocations: 46.48 kB / 0.5624 GB, free: 6.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.1388, allocations: 3.984 kB / 0.5624 GB, free: 6.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001674/0.139, allocations: 53.69 kB / 0.5624 GB, free: 6.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1391, allocations: 55.41 kB / 0.5625 GB, free: 6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.1391, allocations: 93.86 kB / 0.5626 GB, free: 5.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1392, allocations: 29.64 kB / 0.5626 GB, free: 5.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.1392, allocations: 84.05 kB / 0.5627 GB, free: 5.777 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1392, allocations: 19.83 kB / 0.5627 GB, free: 5.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1392, allocations: 0 / 0.5627 GB, free: 5.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1394, allocations: 314.8 kB / 0.563 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.031e-05/0.1394, allocations: 8 kB / 0.563 GB, free: 5.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.208e-05/0.1394, allocations: 25.7 kB / 0.563 GB, free: 5.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/0.1395, allocations: 4 kB / 0.563 GB, free: 5.398 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1395, allocations: 0 / 0.563 GB, free: 5.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.932e-05/0.1396, allocations: 69.48 kB / 0.5631 GB, free: 5.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1396, allocations: 4 kB / 0.5631 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1396, allocations: 4.031 kB / 0.5631 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.1396, allocations: 0 / 0.5631 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.1397, allocations: 8 kB / 0.5631 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1397, allocations: 0 / 0.5631 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.1397, allocations: 4.125 kB / 0.5631 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/0.1397, allocations: 7.938 kB / 0.5631 GB, free: 5.297 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.976e-05/0.1398, allocations: 113.8 kB / 0.5632 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.1398, allocations: 7.953 kB / 0.5632 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.14, allocations: 65.12 kB / 0.5633 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.14, allocations: 0 / 0.5633 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.14, allocations: 0 / 0.5633 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.14, allocations: 0 / 0.5633 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1402, allocations: 157.6 kB / 0.5635 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1402, allocations: 0 / 0.5635 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.1402, allocations: 11.98 kB / 0.5635 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1403, allocations: 3.953 kB / 0.5635 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1403, allocations: 0 / 0.5635 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1403, allocations: 0 / 0.5635 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1403, allocations: 0 / 0.5635 GB, free: 4.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1404, allocations: 151.5 kB / 0.5636 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.1404, allocations: 81.11 kB / 0.5637 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1405, allocations: 3.953 kB / 0.5637 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.1405, allocations: 4 kB / 0.5637 GB, free: 4.609 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.1405, allocations: 4.5 kB / 0.5637 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1406, allocations: 4 kB / 0.5637 GB, free: 4.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.1406, allocations: 79.27 kB / 0.5638 GB, free: 4.523 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1406, allocations: 7.938 kB / 0.5638 GB, free: 4.516 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1409, allocations: 23.94 kB / 0.5638 GB, free: 4.492 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.0001947/0.1411, allocations: 115.2 kB / 0.5639 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001006/0.1412, allocations: 27.98 kB / 0.5639 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1412, allocations: 3.938 kB / 0.564 GB, free: 4.336 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-05/0.1412, allocations: 8 kB / 0.564 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1415, allocations: 3.719 kB / 0.564 GB, free: 4.328 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.1418, allocations: 140.6 kB / 0.5641 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.142, allocations: 0.6808 MB / 0.5648 GB, free: 3.453 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.1421, allocations: 4 kB / 0.5648 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.1421, allocations: 11.44 kB / 0.5648 GB, free: 3.438 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1421, allocations: 0 / 0.5648 GB, free: 3.438 MB / 430.1 MB Notification: Performance of Templates: time 0.002713/0.1448, allocations: 490.2 kB / 0.5652 GB, free: 2.965 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)