Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example5,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 195.5 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.124/2.124, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003762/0.003762, allocations: 278.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.62/1.62, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003133/0.003133, allocations: 95.73 kB / 0.5953 GB, free: 27.74 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2175, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.002304/0.2199, allocations: 0.5132 MB / 0.6808 GB, free: 108 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002137/0.2201, allocations: 57.8 kB / 0.6808 GB, free: 52 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.2202, allocations: 0 / 0.6808 GB, free: 52 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.2202, allocations: 3.938 kB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.2204, allocations: 7.938 kB / 0.6808 GB, free: 40 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.521e-05/0.2205, allocations: 4 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.099e-05/0.2206, allocations: 15.98 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.2206, allocations: 3.984 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.443e-05/0.2207, allocations: 7.938 kB / 0.6809 GB, free: 8 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.2208, allocations: 11.98 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2208, allocations: 0 / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.2208, allocations: 4 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.2209, allocations: 0 / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2209, allocations: 11.88 kB / 0.6809 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.456e-05/0.221, allocations: 7.969 kB / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.221, allocations: 4 kB / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.221, allocations: 0 / 0.6809 GB, free: 15.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2211, allocations: 4 kB / 0.6809 GB, free: 15.96 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004867/0.2216, allocations: 331.7 kB / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2216, allocations: 15.97 kB / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.2217, allocations: 34.73 kB / 0.6813 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.2217, allocations: 0.9375 kB / 0.6813 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2219, allocations: 168.3 kB / 0.6814 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-06/0.2219, allocations: 4.375 kB / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.222, allocations: 384 / 0.6814 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.222, allocations: 42.19 kB / 0.6815 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2221, allocations: 3.938 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.2221, allocations: 0 / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2221, allocations: 0 / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.502e-05/0.2221, allocations: 8 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.2223, allocations: 149.7 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.2224, allocations: 22.56 kB / 0.6817 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.2224, allocations: 8.922 kB / 0.6817 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.2224, allocations: 4 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2225, allocations: 34.5 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.2225, allocations: 4 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001657/0.2227, allocations: 41.62 kB / 0.6818 GB, free: 14.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.2227, allocations: 51.41 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2228, allocations: 117.8 kB / 0.6819 GB, free: 14.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2229, allocations: 25.7 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.2229, allocations: 84.27 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.223, allocations: 0 / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.223, allocations: 21.62 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2232, allocations: 310.8 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.2232, allocations: 7.984 kB / 0.6823 GB, free: 14.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.2232, allocations: 21.59 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.962e-05/0.2233, allocations: 29.77 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.2233, allocations: 0 / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/0.2235, allocations: 45.62 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2235, allocations: 7.938 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2235, allocations: 4 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2235, allocations: 0 / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.2236, allocations: 4 kB / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.2236, allocations: 0 / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.2237, allocations: 0 / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2237, allocations: 12 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB 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 (2): * Single equations (assignments): 2 * 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.07e-05/0.2238, allocations: 114.5 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/0.2238, allocations: 3.938 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.224, allocations: 53.41 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.224, allocations: 0 / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.224, allocations: 4 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.224, allocations: 0 / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2242, allocations: 157.7 kB / 0.6828 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.2242, allocations: 8.016 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/0.2243, allocations: 7.984 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.2243, allocations: 3.938 kB / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.2243, allocations: 0 / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2243, allocations: 0 / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2243, allocations: 0 / 0.6828 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/0.2245, allocations: 73.03 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.2246, allocations: 85.12 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.2246, allocations: 8.031 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.359e-05/0.2247, allocations: 0 / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.2247, allocations: 7.938 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2247, allocations: 0 / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.975e-05/0.2248, allocations: 91.27 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2248, allocations: 0 / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003161/0.2251, allocations: 0 / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0004251/0.2255, allocations: 0.6164 MB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.2257, allocations: 19.92 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2257, allocations: 0 / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.2257, allocations: 4 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.2259, allocations: 6.031 kB / 0.6837 GB, free: 12.76 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.2271, allocations: 1.159 MB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.2274, allocations: 0.6807 MB / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.721e-05/0.2274, allocations: 0 / 0.6855 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.2275, allocations: 15.42 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2275, allocations: 4 kB / 0.6855 GB, free: 10.79 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.103/0.3305, allocations: 1.171 MB / 0.6866 GB, free: 9.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/12.94, allocations: 13.28 kB / 0.6867 GB, free: 9.68 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example5.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)