Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.84/2.84, allocations: 287.3 MB / 302.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001589/0.001589, allocations: 174.4 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 85.06 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004921, allocations: 16.31 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001477/0.2258, allocations: 0.9999 MB / 0.9792 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.2268, allocations: 0.5247 MB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.2269, allocations: 4 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.2269, allocations: 0 / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.648e-05/0.227, allocations: 7.922 kB / 0.9797 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.2275, allocations: 116.8 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.799e-05/0.2276, allocations: 23.91 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.2277, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.2277, allocations: 4 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.2277, allocations: 11.98 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.2278, allocations: 0 / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/0.2284, allocations: 355.4 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.2285, allocations: 7.984 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2285, allocations: 25.7 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.2288, allocations: 100 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2288, allocations: 0 / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2288, allocations: 4 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2288, allocations: 0 / 0.9803 GB, free: 26.21 MB / 0.6198 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.0004941/0.2293, allocations: 355.2 kB / 0.9806 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2294, allocations: 12.02 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.2295, allocations: 7.906 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.926e-05/0.2296, allocations: 163 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2296, allocations: 0 / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2296, allocations: 12 kB / 0.9808 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.2297, allocations: 37.69 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2297, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.2298, allocations: 0 / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.2298, allocations: 4 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.847e-05/0.2298, allocations: 15.98 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.2302, allocations: 252.9 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.2304, allocations: 54.61 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2304, allocations: 3.984 kB / 0.9812 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.2305, allocations: 30.56 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.2305, allocations: 0 / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.2307, allocations: 61.72 kB / 0.9813 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.2307, allocations: 51.41 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.36e-05/0.2308, allocations: 93.86 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.2308, allocations: 29.7 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.2308, allocations: 99.91 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2308, allocations: 11.81 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.2309, allocations: 0 / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.2309, allocations: 318.8 kB / 0.9819 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.231, allocations: 7.938 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.535e-05/0.231, allocations: 21.7 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.231, allocations: 16 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2311, allocations: 0 / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001083/0.2312, allocations: 53.62 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2312, allocations: 8 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2312, allocations: 0 / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2312, allocations: 0 / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.2313, allocations: 12.11 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2313, allocations: 4 kB / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.446e-05/0.2314, allocations: 0 / 0.982 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2314, allocations: 8 kB / 0.982 GB, free: 24.28 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.2315, allocations: 119.8 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.2315, allocations: 4 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.2317, allocations: 61.08 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2317, allocations: 4 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2317, allocations: 3.984 kB / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2317, allocations: 0 / 0.9822 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.2319, allocations: 157.6 kB / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2319, allocations: 0 / 0.9823 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.868e-05/0.232, allocations: 12 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.232, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.232, allocations: 4 kB / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.232, allocations: 0 / 0.9823 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.232, allocations: 3.938 kB / 0.9823 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.2321, allocations: 148 kB / 0.9825 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.2322, allocations: 81.05 kB / 0.9825 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.2322, allocations: 4 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.2323, allocations: 7.984 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.955e-05/0.2323, allocations: 48 / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.2323, allocations: 3.984 kB / 0.9826 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.2324, allocations: 79.28 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2324, allocations: 3.938 kB / 0.9826 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003116/0.2327, allocations: 24 kB / 0.9827 GB, free: 23.47 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/0.2329, allocations: 111.2 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.233, allocations: 31.92 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.233, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.233, allocations: 11.98 kB / 0.9828 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.2332, allocations: 7.953 kB / 0.9828 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/0.2335, allocations: 136.5 kB / 0.983 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2336, allocations: 0.677 MB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.886e-05/0.2337, allocations: 8.062 kB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.2337, allocations: 11.44 kB / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of SimCode: time 6.61e-07/0.2337, allocations: 0 / 0.9836 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.002852/0.2366, allocations: 494 kB / 0.9841 GB, free: 21.94 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)