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.001012/0.001012, allocations: 112.8 kB / 16.42 MB, free: 6.516 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.0009915/0.0009915, allocations: 190.7 kB / 17.35 MB, free: 5.73 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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 283.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9277/0.9277, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 91.84 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3664, allocations: 86.98 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002186/0.3687, allocations: 1.276 MB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009146/0.3696, allocations: 0.5934 MB / 0.7689 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.3696, allocations: 3.938 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.3697, allocations: 7.922 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.02e-05/0.3697, allocations: 4 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000506/0.3702, allocations: 139.4 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.296e-05/0.3703, allocations: 27.86 kB / 0.769 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.3703, allocations: 4 kB / 0.7691 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.982e-05/0.3704, allocations: 4 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.3704, allocations: 15.92 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.3704, allocations: 0 / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005038/0.3709, allocations: 347.2 kB / 0.7694 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.371, allocations: 4 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.318e-05/0.371, allocations: 7.938 kB / 0.7694 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.3712, allocations: 145.9 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3712, allocations: 0 / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3713, allocations: 0 / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3713, allocations: 7.938 kB / 0.7696 GB, free: 1.32 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.0003819/0.3717, allocations: 359.4 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3717, allocations: 8.031 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.3717, allocations: 8.844 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.3718, allocations: 160.4 kB / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3718, allocations: 384 / 0.7701 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3719, allocations: 8.375 kB / 0.7701 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.372, allocations: 46.25 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.372, allocations: 4.188 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.372, allocations: 3.938 kB / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.372, allocations: 0 / 0.7701 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.3721, allocations: 15.98 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.3724, allocations: 248.9 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3726, allocations: 50.56 kB / 0.7704 GB, free: 280 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.454e-05/0.3726, allocations: 24.84 kB / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3726, allocations: 0 / 0.7705 GB, free: 252 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.3727, allocations: 34.56 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3727, allocations: 0 / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001673/0.3728, allocations: 57.62 kB / 0.7705 GB, free: 144 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.3729, allocations: 55.34 kB / 0.7706 GB, free: 76 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.964e-05/0.3729, allocations: 93.86 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.373, allocations: 33.69 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.373, allocations: 92.05 kB / 0.7708 GB, free: 15.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.373, allocations: 11.75 kB / 0.7708 GB, free: 15.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3731, allocations: 17.72 kB / 0.7708 GB, free: 15.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.3732, allocations: 314.8 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.044e-05/0.3732, allocations: 8 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.3732, allocations: 17.72 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.3733, allocations: 46 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3733, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.035e-05/0.3734, allocations: 57.62 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3734, allocations: 10.34 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3734, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.3734, allocations: 0 / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.3735, allocations: 11.94 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.3735, allocations: 3.938 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.3735, allocations: 0 / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3735, allocations: 4 kB / 0.7713 GB, free: 15.32 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 6.684e-05/0.3736, allocations: 116.3 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.3737, allocations: 11.84 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3738, allocations: 57.17 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3738, allocations: 4 kB / 0.7715 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3738, allocations: 3.938 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.3738, allocations: 77.11 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3739, allocations: 0 / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.3739, allocations: 0 / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.3739, allocations: 11.98 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001088/0.3741, allocations: 128.9 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001323/0.3742, allocations: 222.8 kB / 0.7719 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.511e-05/0.3742, allocations: 11.98 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.828e-05/0.3743, allocations: 79.28 kB / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of Backend: time 3.61e-07/0.3743, allocations: 0 / 0.772 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.3748, allocations: 160.9 kB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003813/0.3752, allocations: 0.5651 MB / 0.7727 GB, free: 13.77 MB / 0.545 GB Notification: Performance of Templates: time 0.00319/0.3784, allocations: 1.166 MB / 0.7738 GB, free: 12.62 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)