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.001123/0.001123, allocations: 87.62 kB / 16.67 MB, free: 6.59 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.001339/0.001339, allocations: 184.4 kB / 17.58 MB, free: 6.188 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.322/1.322, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3589, allocations: 77.51 MB / 0.5606 GB, free: 36.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001225/0.3602, allocations: 1.006 MB / 0.5616 GB, free: 35.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008953/0.3611, allocations: 0.5839 MB / 0.5621 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.3611, allocations: 4.438 kB / 0.5621 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.3611, allocations: 1.312 kB / 0.5621 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.203e-05/0.3612, allocations: 6.422 kB / 0.5622 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.3616, allocations: 122.7 kB / 0.5623 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.3616, allocations: 27.95 kB / 0.5623 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.3617, allocations: 1.906 kB / 0.5623 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.3617, allocations: 7.906 kB / 0.5623 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.3618, allocations: 9.531 kB / 0.5623 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3618, allocations: 1.406 kB / 0.5623 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.3623, allocations: 345.2 kB / 0.5626 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.3623, allocations: 4.75 kB / 0.5626 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.3623, allocations: 35.27 kB / 0.5627 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3625, allocations: 96.08 kB / 0.5628 GB, free: 35.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3625, allocations: 0 / 0.5628 GB, free: 35.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3625, allocations: 0.9375 kB / 0.5628 GB, free: 35.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3625, allocations: 0 / 0.5628 GB, free: 35.02 MB / 446.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.0003092/0.3628, allocations: 352.3 kB / 0.5631 GB, free: 34.64 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3629, allocations: 9.094 kB / 0.5631 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.3629, allocations: 2.406 kB / 0.5631 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.106e-05/0.363, allocations: 176.4 kB / 0.5633 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.363, allocations: 3.594 kB / 0.5633 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.363, allocations: 9.344 kB / 0.5633 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.3631, allocations: 40.69 kB / 0.5633 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3631, allocations: 192 / 0.5633 GB, free: 34.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3632, allocations: 11.44 kB / 0.5634 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3632, allocations: 0 / 0.5634 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.433e-05/0.3632, allocations: 19.53 kB / 0.5634 GB, free: 34.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.3635, allocations: 246.8 kB / 0.5636 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.3636, allocations: 51.78 kB / 0.5637 GB, free: 34.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.127e-05/0.3637, allocations: 18.3 kB / 0.5637 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3637, allocations: 5.703 kB / 0.5637 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.3637, allocations: 37.2 kB / 0.5637 GB, free: 34.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3637, allocations: 0 / 0.5637 GB, free: 34.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001443/0.3639, allocations: 60.39 kB / 0.5638 GB, free: 33.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.3639, allocations: 57.45 kB / 0.5638 GB, free: 33.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.329e-05/0.364, allocations: 95.7 kB / 0.5639 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.124e-06/0.364, allocations: 27.11 kB / 0.5639 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.42e-05/0.364, allocations: 89.69 kB / 0.564 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.364, allocations: 7.5 kB / 0.564 GB, free: 33.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.364, allocations: 12.22 kB / 0.564 GB, free: 33.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.3641, allocations: 319.2 kB / 0.5644 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.3641, allocations: 4.234 kB / 0.5644 GB, free: 33.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.44e-05/0.3641, allocations: 21.73 kB / 0.5644 GB, free: 33.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.3642, allocations: 35.67 kB / 0.5644 GB, free: 33.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3642, allocations: 0 / 0.5644 GB, free: 33.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.943e-05/0.3643, allocations: 66.53 kB / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3643, allocations: 8.109 kB / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3643, allocations: 0 / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.3643, allocations: 1.344 kB / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.253e-05/0.3644, allocations: 8.891 kB / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3644, allocations: 0 / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.3644, allocations: 11.98 kB / 0.5645 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3644, allocations: 1.406 kB / 0.5645 GB, free: 33.25 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.415e-05/0.3645, allocations: 113 kB / 0.5646 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.3645, allocations: 1.312 kB / 0.5646 GB, free: 33.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.3646, allocations: 64.86 kB / 0.5647 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3646, allocations: 1.031 kB / 0.5647 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.3646, allocations: 0 / 0.5647 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3646, allocations: 1.656 kB / 0.5647 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.3648, allocations: 158.6 kB / 0.5648 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3648, allocations: 5.938 kB / 0.5648 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.322e-05/0.3648, allocations: 6.016 kB / 0.5648 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3648, allocations: 1.031 kB / 0.5648 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3648, allocations: 9.844 kB / 0.5649 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3648, allocations: 0.5625 kB / 0.5649 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3648, allocations: 1.188 kB / 0.5649 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.3649, allocations: 160.4 kB / 0.565 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.365, allocations: 79.89 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.365, allocations: 1.906 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.819e-05/0.365, allocations: 1.594 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.3651, allocations: 3 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3651, allocations: 1.281 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.884e-05/0.3651, allocations: 80.06 kB / 0.5652 GB, free: 32.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3651, allocations: 1.75 kB / 0.5652 GB, free: 32.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3653, allocations: 22.48 kB / 0.5652 GB, free: 32.55 MB / 446.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 (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.0001454/0.3655, allocations: 117.2 kB / 0.5653 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.949e-05/0.3656, allocations: 29.66 kB / 0.5653 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3656, allocations: 0 / 0.5653 GB, free: 32.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.879e-05/0.3656, allocations: 16.98 kB / 0.5653 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.3658, allocations: 5.5 kB / 0.5654 GB, free: 32.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.3661, allocations: 154.4 kB / 0.5655 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.3662, allocations: 0.6768 MB / 0.5662 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.3662, allocations: 10.38 kB / 0.5662 GB, free: 31.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3662, allocations: 0.9375 kB / 0.5662 GB, free: 31.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002219/0.3684, allocations: 0.6836 MB / 0.5668 GB, free: 31.56 MB / 446.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)