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.001188/0.001188, allocations: 112.9 kB / 16.42 MB, free: 6.465 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.001081/0.001081, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.284/1.284, allocations: 222.9 MB / 241 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.002115/0.002115, allocations: 296 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9336/0.9336, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 91.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3777, allocations: 86.98 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001983/0.3797, allocations: 1.294 MB / 0.7683 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00089/0.3806, allocations: 0.5933 MB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.3806, allocations: 0 / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.3807, allocations: 7.922 kB / 0.7689 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.3807, allocations: 4 kB / 0.7689 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.3812, allocations: 139.4 kB / 0.769 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.3812, allocations: 23.86 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.3813, allocations: 4 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.834e-05/0.3813, allocations: 8 kB / 0.7691 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.237e-05/0.3814, allocations: 15.92 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3814, allocations: 0 / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.3819, allocations: 347.3 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.3819, allocations: 0 / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.3819, allocations: 11.88 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.3822, allocations: 145.9 kB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.3822, allocations: 0 / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-05/0.3822, allocations: 0 / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3822, allocations: 3.938 kB / 0.7696 GB, free: 1.301 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.0003769/0.3826, allocations: 363.4 kB / 0.7699 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3826, allocations: 8.031 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3826, allocations: 8.844 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.3828, allocations: 160.4 kB / 0.7701 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3828, allocations: 4.375 kB / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3828, allocations: 4.375 kB / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.3829, allocations: 42.25 kB / 0.7701 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.3829, allocations: 192 / 0.7701 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3829, allocations: 3.938 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3829, allocations: 0 / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.383, allocations: 19.98 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.3833, allocations: 248.9 kB / 0.7704 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3835, allocations: 50.62 kB / 0.7704 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.3835, allocations: 20.84 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3835, allocations: 0 / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3836, allocations: 34.56 kB / 0.7705 GB, free: 192 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 4.008e-06/0.3836, allocations: 4 kB / 0.7705 GB, free: 188 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001532/0.3837, allocations: 61.56 kB / 0.7706 GB, free: 120 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.3838, allocations: 51.41 kB / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.3838, allocations: 97.86 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3839, allocations: 29.69 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.3839, allocations: 88.05 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.3839, allocations: 11.75 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.384, allocations: 21.72 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.3841, allocations: 314.8 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3841, allocations: 8 kB / 0.7712 GB, free: 15.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.96e-05/0.3841, allocations: 21.72 kB / 0.7712 GB, free: 15.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.593e-05/0.3842, allocations: 34.02 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3842, allocations: 128 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.893e-05/0.3843, allocations: 69.61 kB / 0.7713 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3843, allocations: 8 kB / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3843, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.3843, allocations: 0 / 0.7713 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/0.3844, allocations: 11.94 kB / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3844, allocations: 0 / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.362e-05/0.3844, allocations: 0 / 0.7713 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.3844, allocations: 7.938 kB / 0.7713 GB, free: 15.29 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.373e-05/0.3845, allocations: 112.2 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.3846, allocations: 15.88 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.3847, allocations: 57.17 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3847, allocations: 0 / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3847, allocations: 7.938 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.3847, allocations: 77.11 kB / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.3847, allocations: 0 / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.3848, allocations: 0 / 0.7716 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.3848, allocations: 7.984 kB / 0.7716 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001051/0.3849, allocations: 136.9 kB / 0.7717 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001332/0.3851, allocations: 222.8 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.354e-05/0.3851, allocations: 11.98 kB / 0.7719 GB, free: 14.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.981e-05/0.3851, allocations: 79.28 kB / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of Backend: time 2.8e-07/0.3851, allocations: 0 / 0.772 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.3856, allocations: 152.7 kB / 0.7721 GB, free: 14.37 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003595/0.386, allocations: 0.5583 MB / 0.7727 GB, free: 13.76 MB / 0.545 GB Notification: Performance of Templates: time 0.003168/0.3892, allocations: 1.165 MB / 0.7738 GB, free: 12.6 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)