Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example8,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8",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.001589/0.001589, 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.001985/0.001985, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.104/2.104, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002936/0.002936, allocations: 286.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.279/1.279, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003085/0.003085, allocations: 94.53 kB / 0.5953 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2288, allocations: 86.99 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.002253/0.2311, allocations: 0.504 MB / 0.6808 GB, free: 112 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000161/0.2313, allocations: 3.984 kB / 0.6808 GB, free: 108 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.2313, allocations: 8.438 kB / 0.6808 GB, free: 100 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.2313, allocations: 4.594 kB / 0.6808 GB, free: 96 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.2315, allocations: 7.984 kB / 0.6808 GB, free: 88 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.438e-06/0.2316, allocations: 0.7188 kB / 0.6808 GB, free: 88 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.2316, allocations: 11.92 kB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.73e-05/0.2317, allocations: 0.5 kB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.099e-05/0.2317, allocations: 1.906 kB / 0.6808 GB, free: 76 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.2318, allocations: 4 kB / 0.6808 GB, free: 72 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2318, allocations: 3.938 kB / 0.6808 GB, free: 68 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.2318, allocations: 0 / 0.6808 GB, free: 68 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.2318, allocations: 0 / 0.6808 GB, free: 68 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.2319, allocations: 7.938 kB / 0.6808 GB, free: 60 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 5.538e-05/0.2319, allocations: 11.98 kB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.232, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.232, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.232, allocations: 0 / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003586/0.2323, allocations: 315.9 kB / 0.6811 GB, free: 15.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.2324, allocations: 8.031 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.898e-05/0.2325, allocations: 30.75 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.2325, allocations: 4.938 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.2327, allocations: 176.3 kB / 0.6814 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.2327, allocations: 384 / 0.6814 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.2327, allocations: 384 / 0.6814 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2329, allocations: 47.92 kB / 0.6814 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2329, allocations: 7.922 kB / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.2329, allocations: 0 / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.2329, allocations: 0 / 0.6814 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.556e-05/0.233, allocations: 7.984 kB / 0.6814 GB, free: 15.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001928/0.2332, allocations: 162.5 kB / 0.6816 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.639e-05/0.2332, allocations: 37.19 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.2333, allocations: 9.719 kB / 0.6816 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.2333, allocations: 7.984 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.2334, allocations: 38.62 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.2334, allocations: 0 / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.2335, allocations: 41.58 kB / 0.6817 GB, free: 14.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.2336, allocations: 81.11 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.2337, allocations: 97.84 kB / 0.6819 GB, free: 14.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.2337, allocations: 25.7 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.2338, allocations: 80.14 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.2338, allocations: 4.281 kB / 0.682 GB, free: 14.65 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.2338, allocations: 17.72 kB / 0.682 GB, free: 14.62 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.234, allocations: 318.8 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.234, allocations: 0 / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.234, allocations: 13.72 kB / 0.6823 GB, free: 14.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.476e-05/0.2341, allocations: 21.7 kB / 0.6823 GB, free: 14.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2341, allocations: 4.062 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.217e-05/0.2342, allocations: 45.58 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2342, allocations: 7.938 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2343, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2343, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2344, allocations: 7.984 kB / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2344, allocations: 0 / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.2344, allocations: 0 / 0.6824 GB, free: 14.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2344, allocations: 4 kB / 0.6824 GB, free: 14.18 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 8.503e-05/0.2345, allocations: 114.6 kB / 0.6825 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.2346, allocations: 7.844 kB / 0.6825 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.2347, allocations: 52.75 kB / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2347, allocations: 0 / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2347, allocations: 0 / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2348, allocations: 0 / 0.6826 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.2349, allocations: 149.7 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2349, allocations: 4.062 kB / 0.6827 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.2349, allocations: 11.94 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.235, allocations: 3.938 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.235, allocations: 3.938 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.235, allocations: 0 / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.235, allocations: 4 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.2351, allocations: 65.98 kB / 0.6828 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.2352, allocations: 81.14 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2352, allocations: 3.938 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.733e-05/0.2352, allocations: 8 kB / 0.6829 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.2353, allocations: 3.984 kB / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.2353, allocations: 0 / 0.6829 GB, free: 13.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.526e-05/0.2353, allocations: 79.28 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2353, allocations: 0 / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.2356, allocations: 0 / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004159/0.236, allocations: 0.6055 MB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.2361, allocations: 15.94 kB / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2362, allocations: 0 / 0.6836 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.779e-05/0.2362, allocations: 8.156 kB / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.2364, allocations: 0 / 0.6836 GB, free: 12.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.2368, allocations: 115.6 kB / 0.6837 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.237, allocations: 0.6729 MB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.466e-05/0.2371, allocations: 3.984 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.2371, allocations: 7.438 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2371, allocations: 4.062 kB / 0.6844 GB, free: 11.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/0.3564, allocations: 0.925 MB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.73, allocations: 9.047 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example8.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)