Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.0009473/0.000947, allocations: 172.5 kB / 372.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.4 MB / 0.631 GB, free: 9.918 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.0008507/0.0008508, allocations: 102.8 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005667/0.0005667, allocations: 16.28 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2293, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001231/0.2306, allocations: 1.002 MB / 0.9812 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007074/0.2313, allocations: 0.5424 MB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.2314, allocations: 0 / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.2314, allocations: 4 kB / 0.9817 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.2314, allocations: 7.875 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.2319, allocations: 129.5 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.208e-05/0.2319, allocations: 19.86 kB / 0.9819 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.232, allocations: 0 / 0.9819 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.167e-05/0.232, allocations: 8 kB / 0.9819 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.2321, allocations: 11.98 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.2321, allocations: 0 / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.2325, allocations: 339.3 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.2325, allocations: 7.938 kB / 0.9822 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.2325, allocations: 29.7 kB / 0.9822 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.2327, allocations: 100.1 kB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2327, allocations: 0 / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2327, allocations: 0 / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2327, allocations: 4 kB / 0.9823 GB, free: 25.07 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.0003231/0.233, allocations: 355.4 kB / 0.9827 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2331, allocations: 8.031 kB / 0.9827 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.2331, allocations: 34.75 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.2331, allocations: 8.922 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.292e-05/0.2332, allocations: 164.3 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2332, allocations: 384 / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2332, allocations: 4.375 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.2333, allocations: 42.25 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.2334, allocations: 3.938 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2334, allocations: 4 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2334, allocations: 3.938 kB / 0.9829 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.2334, allocations: 12 kB / 0.9829 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.2337, allocations: 256.9 kB / 0.9832 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.2339, allocations: 46.56 kB / 0.9832 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/0.2339, allocations: 16.86 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2339, allocations: 4 kB / 0.9833 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.234, allocations: 30.56 kB / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.234, allocations: 0 / 0.9833 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001593/0.2341, allocations: 69.7 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.2342, allocations: 51.41 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.965e-05/0.2342, allocations: 101.8 kB / 0.9835 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.2342, allocations: 25.7 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.2343, allocations: 88.02 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.468e-06/0.2343, allocations: 19.81 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.2343, allocations: 0 / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.2344, allocations: 314.8 kB / 0.9839 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.2344, allocations: 8 kB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.345e-05/0.2344, allocations: 21.72 kB / 0.984 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.2344, allocations: 33.64 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2345, allocations: 3.938 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.125e-05/0.2345, allocations: 61.69 kB / 0.984 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.2346, allocations: 4 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2346, allocations: 0 / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2346, allocations: 4 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.285e-05/0.2346, allocations: 7.938 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.2346, allocations: 4 kB / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.242e-05/0.2347, allocations: 0 / 0.9841 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.2347, allocations: 0 / 0.9841 GB, free: 23.05 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.301e-05/0.2347, allocations: 119.3 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.2348, allocations: 7.891 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2349, allocations: 61.19 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2349, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2349, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2349, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.235, allocations: 169.5 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.235, allocations: 0 / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.2351, allocations: 11.88 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2351, allocations: 4 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2351, allocations: 3.984 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2351, allocations: 4 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2351, allocations: 0 / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.518e-05/0.2352, allocations: 147.5 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.477e-05/0.2352, allocations: 77.11 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.2352, allocations: 0 / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.2353, allocations: 0 / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.2353, allocations: 8 kB / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.2353, allocations: 0 / 0.9847 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.793e-05/0.2353, allocations: 87.59 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2353, allocations: 0 / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002423/0.2356, allocations: 16 kB / 0.9848 GB, free: 22.25 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.0002881/0.2359, allocations: 0.7085 MB / 0.9854 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.603e-05/0.2359, allocations: 23.92 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.236, allocations: 7.938 kB / 0.9855 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.236, allocations: 8 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.2362, allocations: 4 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.2365, allocations: 170.2 kB / 0.9856 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.188e-05/0.2366, allocations: 0.681 MB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.252e-05/0.2367, allocations: 4 kB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.2367, allocations: 11.38 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2367, allocations: 0 / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/0.4293, allocations: 1.201 MB / 0.9875 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.4296, allocations: 215.2 kB / 0.9877 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.935, allocations: 0 / 0.9877 GB, free: 19.29 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)