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.001192/0.001192, allocations: 113.3 kB / 17.04 MB, free: 5.812 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.001105/0.001105, allocations: 195 kB / 17.98 MB, free: 5.027 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.242/1.242, allocations: 222.9 MB / 241.7 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.6885/0.6885, allocations: 115.1 MB / 407 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 60.12 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3272, allocations: 76.14 MB / 0.5576 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002347/0.3296, allocations: 1.283 MB / 0.5588 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.3304, allocations: 0.5937 MB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.3305, allocations: 1.438 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.3305, allocations: 0.6562 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.463e-05/0.3306, allocations: 6 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.3312, allocations: 152.1 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.3312, allocations: 15.77 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.3313, allocations: 2.25 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.3313, allocations: 14.98 kB / 0.5596 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.932e-05/0.3314, allocations: 5.891 kB / 0.5596 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.3314, allocations: 1.375 kB / 0.5596 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.3319, allocations: 345.5 kB / 0.5599 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.3319, allocations: 6.219 kB / 0.5599 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.332, allocations: 11.11 kB / 0.5599 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.3323, allocations: 148.8 kB / 0.5601 GB, free: 35.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3323, allocations: 1.156 kB / 0.5601 GB, free: 35.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3323, allocations: 0 / 0.5601 GB, free: 35.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3323, allocations: 1.281 kB / 0.5601 GB, free: 35.21 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.0003617/0.3327, allocations: 356.5 kB / 0.5604 GB, free: 34.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3327, allocations: 10.16 kB / 0.5604 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.3327, allocations: 2.594 kB / 0.5604 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.255e-05/0.3328, allocations: 175.7 kB / 0.5606 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.3328, allocations: 1.656 kB / 0.5606 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3329, allocations: 6.938 kB / 0.5606 GB, free: 34.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.107e-05/0.3329, allocations: 40.11 kB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.333, allocations: 2.031 kB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.333, allocations: 6.969 kB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.333, allocations: 1.438 kB / 0.5607 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.333, allocations: 15.55 kB / 0.5607 GB, free: 34.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.3333, allocations: 249.9 kB / 0.5609 GB, free: 34.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.3335, allocations: 51.55 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.3336, allocations: 17.88 kB / 0.561 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.3336, allocations: 3.344 kB / 0.561 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.3336, allocations: 35.94 kB / 0.561 GB, free: 34.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.3336, allocations: 3.938 kB / 0.561 GB, free: 34.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001649/0.3338, allocations: 58.02 kB / 0.5611 GB, free: 34.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.3338, allocations: 51.41 kB / 0.5611 GB, free: 34.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.3339, allocations: 104.5 kB / 0.5612 GB, free: 34.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.3339, allocations: 26.92 kB / 0.5613 GB, free: 33.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.3339, allocations: 85.92 kB / 0.5613 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.3339, allocations: 11.2 kB / 0.5613 GB, free: 33.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.334, allocations: 19.7 kB / 0.5614 GB, free: 33.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.534e-05/0.334, allocations: 314 kB / 0.5617 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.334, allocations: 7.594 kB / 0.5617 GB, free: 33.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.3341, allocations: 20.88 kB / 0.5617 GB, free: 33.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.3341, allocations: 31.08 kB / 0.5617 GB, free: 33.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3341, allocations: 0.9062 kB / 0.5617 GB, free: 33.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.46e-05/0.3342, allocations: 63.27 kB / 0.5618 GB, free: 33.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3342, allocations: 7.359 kB / 0.5618 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3343, allocations: 0 / 0.5618 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3343, allocations: 1.406 kB / 0.5618 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.749e-05/0.3343, allocations: 9.781 kB / 0.5618 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3343, allocations: 128 / 0.5618 GB, free: 33.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.3344, allocations: 15.55 kB / 0.5618 GB, free: 33.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3344, allocations: 2.281 kB / 0.5618 GB, free: 33.45 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.551e-05/0.3344, allocations: 115.8 kB / 0.5619 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.3345, allocations: 2.156 kB / 0.5619 GB, free: 33.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.3346, allocations: 62.78 kB / 0.562 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3346, allocations: 1.281 kB / 0.562 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3346, allocations: 0.5938 kB / 0.562 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3346, allocations: 3.188 kB / 0.562 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.3347, allocations: 161.3 kB / 0.5621 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3348, allocations: 2.281 kB / 0.5621 GB, free: 33.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.3348, allocations: 12.67 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3348, allocations: 1.344 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3348, allocations: 0.75 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3348, allocations: 1.344 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3348, allocations: 3.938 kB / 0.5622 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.026e-05/0.3349, allocations: 147.8 kB / 0.5623 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.401e-05/0.335, allocations: 80.08 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.335, allocations: 4.547 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.14e-05/0.335, allocations: 3.125 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.335, allocations: 2.594 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3351, allocations: 1.625 kB / 0.5624 GB, free: 32.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.871e-05/0.3351, allocations: 78.45 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3351, allocations: 1.312 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3353, allocations: 26.97 kB / 0.5625 GB, free: 32.76 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.0001494/0.3355, allocations: 118.2 kB / 0.5626 GB, free: 32.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.3356, allocations: 31 kB / 0.5626 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3356, allocations: 1.125 kB / 0.5626 GB, free: 32.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.3356, allocations: 13.28 kB / 0.5627 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.3358, allocations: 6.656 kB / 0.5627 GB, free: 32.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.3361, allocations: 116.1 kB / 0.5628 GB, free: 32.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.251e-05/0.3362, allocations: 0.6805 MB / 0.5634 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.3362, allocations: 5.891 kB / 0.5634 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.3363, allocations: 10.39 kB / 0.5635 GB, free: 31.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3363, allocations: 0 / 0.5635 GB, free: 31.83 MB / 446.1 MB Notification: Performance of Templates: time 0.002499/0.3388, allocations: 0.5121 MB / 0.564 GB, free: 31.78 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)