Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001287/0.001287, allocations: 112.8 kB / 16.41 MB, free: 6.512 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.001206/0.001206, allocations: 185.2 kB / 17.34 MB, free: 5.734 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: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002503/0.002503, allocations: 291.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9955/0.9955, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002804/0.002804, allocations: 95.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4635, allocations: 86.98 MB / 0.7671 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002268/0.4658, allocations: 1.276 MB / 0.7683 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.4669, allocations: 0.5933 MB / 0.7689 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.396e-05/0.4669, allocations: 3.938 kB / 0.7689 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.35e-05/0.4669, allocations: 11.92 kB / 0.7689 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.131e-05/0.467, allocations: 3.984 kB / 0.7689 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.4675, allocations: 142.5 kB / 0.769 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.885e-05/0.4675, allocations: 19.86 kB / 0.7691 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.4676, allocations: 8 kB / 0.7691 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.059e-05/0.4676, allocations: 8 kB / 0.7691 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.624e-05/0.4676, allocations: 15.91 kB / 0.7691 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.4677, allocations: 0 / 0.7691 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.4682, allocations: 343.3 kB / 0.7694 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.4682, allocations: 0 / 0.7694 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.4682, allocations: 15.92 kB / 0.7694 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.4685, allocations: 149.7 kB / 0.7696 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4685, allocations: 0 / 0.7696 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4685, allocations: 0 / 0.7696 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4685, allocations: 0 / 0.7696 GB, free: 1.492 MB / 0.5294 GB 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.0004916/0.469, allocations: 367 kB / 0.7699 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.469, allocations: 12.03 kB / 0.7699 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.469, allocations: 0.9375 kB / 0.7699 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.4692, allocations: 164.4 kB / 0.7701 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4692, allocations: 4.375 kB / 0.7701 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.4692, allocations: 384 / 0.7701 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.4693, allocations: 42.25 kB / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.4693, allocations: 192 / 0.7701 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4693, allocations: 7.938 kB / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.4693, allocations: 0 / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/0.4694, allocations: 12 kB / 0.7702 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.4698, allocations: 260.8 kB / 0.7704 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.47, allocations: 46.56 kB / 0.7704 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.512e-05/0.47, allocations: 20.84 kB / 0.7705 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.47, allocations: 4 kB / 0.7705 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.4701, allocations: 30.56 kB / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4701, allocations: 0 / 0.7705 GB, free: 384 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001764/0.4702, allocations: 61.62 kB / 0.7706 GB, free: 316 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.4703, allocations: 59.28 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.4704, allocations: 101.8 kB / 0.7707 GB, free: 132 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4704, allocations: 25.7 kB / 0.7707 GB, free: 100 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.4704, allocations: 80.14 kB / 0.7708 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.4705, allocations: 19.94 kB / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.4705, allocations: 17.72 kB / 0.7708 GB, free: 15.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4707, allocations: 314.8 kB / 0.7711 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.4707, allocations: 8 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.538e-05/0.4707, allocations: 21.72 kB / 0.7712 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.152e-05/0.4708, allocations: 34.02 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4708, allocations: 4 kB / 0.7712 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001007/0.4709, allocations: 69.56 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.4709, allocations: 6.5 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4709, allocations: 0 / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.4709, allocations: 4 kB / 0.7713 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/0.4709, allocations: 7.938 kB / 0.7713 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.471, allocations: 4 kB / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.471, allocations: 0 / 0.7713 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.471, allocations: 0 / 0.7713 GB, free: 15.48 MB / 0.545 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 9.028e-05/0.4711, allocations: 128.2 kB / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.4711, allocations: 0 / 0.7714 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.4712, allocations: 57.19 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.4712, allocations: 0 / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.4712, allocations: 3.938 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4712, allocations: 0 / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.4714, allocations: 169.5 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4714, allocations: 0 / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.4715, allocations: 7.984 kB / 0.7717 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4715, allocations: 4 kB / 0.7717 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4715, allocations: 4 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4715, allocations: 0 / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4715, allocations: 0 / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.4716, allocations: 151.4 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.4717, allocations: 77.11 kB / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.4717, allocations: 0 / 0.7719 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.4717, allocations: 4 kB / 0.7719 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.4717, allocations: 11.94 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.4717, allocations: 3.984 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.4718, allocations: 83.22 kB / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4718, allocations: 0 / 0.772 GB, free: 14.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002388/0.472, allocations: 15.94 kB / 0.772 GB, free: 14.68 MB / 0.545 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.0002002/0.4722, allocations: 123.1 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.4723, allocations: 23.98 kB / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4723, allocations: 0 / 0.7721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.4723, allocations: 12 kB / 0.7721 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.4725, allocations: 12.62 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.4728, allocations: 118.7 kB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.4732, allocations: 0.6729 MB / 0.7729 GB, free: 13.66 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.4732, allocations: 7.984 kB / 0.7729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.094e-05/0.4732, allocations: 11.44 kB / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.4732, allocations: 0 / 0.7729 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Templates: time 0.002921/0.4762, allocations: 0.5241 MB / 0.7735 GB, free: 13.12 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)