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.00503/0.005029, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.001307/0.001307, allocations: 204.7 kB / 16.68 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002463/0.002463, allocations: 275.2 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00286/0.00286, allocations: 103.8 kB / 0.6943 GB, free: 3.609 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4467, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example5): time 0.001544/0.4482, allocations: 0.5292 MB / 0.7818 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.4484, allocations: 45.27 kB / 0.7819 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.4485, allocations: 3.281 kB / 0.7819 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.4485, allocations: 0 / 0.7819 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.4487, allocations: 8.578 kB / 0.7819 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 4.894e-05/0.4487, allocations: 3.312 kB / 0.7819 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.4488, allocations: 18.67 kB / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.4488, allocations: 10.11 kB / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.619e-05/0.4489, allocations: 5.312 kB / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.449, allocations: 9.094 kB / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.449, allocations: 2.562 kB / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.449, allocations: 0 / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.449, allocations: 10.05 kB / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.4491, allocations: 6.578 kB / 0.7819 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 5.71e-05/0.4491, allocations: 10.31 kB / 0.782 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.4491, allocations: 0 / 0.782 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4491, allocations: 4.141 kB / 0.782 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.468e-06/0.4492, allocations: 0 / 0.782 GB, free: 13.45 MB / 0.5606 GB 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.0004167/0.4496, allocations: 334.8 kB / 0.7823 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.4496, allocations: 9.031 kB / 0.7823 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.076e-05/0.4497, allocations: 31.88 kB / 0.7823 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.4497, allocations: 6.906 kB / 0.7823 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.4499, allocations: 168.8 kB / 0.7825 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.4499, allocations: 384 / 0.7825 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.4499, allocations: 1.812 kB / 0.7825 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.552e-05/0.45, allocations: 36.69 kB / 0.7825 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.45, allocations: 3.938 kB / 0.7825 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.45, allocations: 4 kB / 0.7825 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.45, allocations: 0.5625 kB / 0.7825 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.4501, allocations: 5.016 kB / 0.7825 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.4502, allocations: 160.2 kB / 0.7827 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.4503, allocations: 22.62 kB / 0.7827 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.4503, allocations: 13.58 kB / 0.7827 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.4503, allocations: 3.938 kB / 0.7827 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4504, allocations: 36.59 kB / 0.7828 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.061e-06/0.4504, allocations: 0 / 0.7828 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000151/0.4505, allocations: 47.55 kB / 0.7828 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.4506, allocations: 52.66 kB / 0.7829 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.194e-05/0.4507, allocations: 109.7 kB / 0.783 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4507, allocations: 29.7 kB / 0.783 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.4507, allocations: 82 kB / 0.7831 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.4508, allocations: 1.719 kB / 0.7831 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.4508, allocations: 21.45 kB / 0.7831 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.451, allocations: 312.2 kB / 0.7834 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.451, allocations: 4.25 kB / 0.7834 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.647e-05/0.451, allocations: 23.91 kB / 0.7834 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.041e-05/0.4511, allocations: 23.75 kB / 0.7834 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4511, allocations: 64 / 0.7834 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.615e-05/0.4512, allocations: 52.92 kB / 0.7835 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4512, allocations: 13.92 kB / 0.7835 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4512, allocations: 1.438 kB / 0.7835 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4512, allocations: 0 / 0.7835 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.4513, allocations: 5.781 kB / 0.7835 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4513, allocations: 0 / 0.7835 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.4513, allocations: 2.078 kB / 0.7835 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.4513, allocations: 1.062 kB / 0.7835 GB, free: 11.78 MB / 0.5606 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 (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.323e-05/0.4514, allocations: 117.3 kB / 0.7836 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.4514, allocations: 5 kB / 0.7836 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.4515, allocations: 54.23 kB / 0.7837 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4515, allocations: 0.7031 kB / 0.7837 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4516, allocations: 1.25 kB / 0.7837 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.4516, allocations: 0 / 0.7837 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.4517, allocations: 159.7 kB / 0.7838 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4517, allocations: 0 / 0.7838 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.4518, allocations: 4.547 kB / 0.7838 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4518, allocations: 3.969 kB / 0.7838 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.4518, allocations: 5.953 kB / 0.7838 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4518, allocations: 0 / 0.7838 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4518, allocations: 3.938 kB / 0.7839 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.452, allocations: 81.78 kB / 0.7839 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.452, allocations: 81.08 kB / 0.784 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.452, allocations: 4.547 kB / 0.784 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.079e-05/0.4521, allocations: 1.438 kB / 0.784 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.4521, allocations: 7.328 kB / 0.784 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4521, allocations: 0.6094 kB / 0.784 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.4522, allocations: 94.62 kB / 0.7841 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4522, allocations: 0 / 0.7841 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001811/0.4523, allocations: 3.375 kB / 0.7841 GB, free: 11.14 MB / 0.5606 GB 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.0004275/0.4528, allocations: 0.6179 MB / 0.7847 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.562e-05/0.4529, allocations: 13.05 kB / 0.7847 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4529, allocations: 3.5 kB / 0.7847 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/0.4529, allocations: 9.094 kB / 0.7847 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001448/0.4531, allocations: 4.547 kB / 0.7847 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4541, allocations: 1.143 MB / 0.7859 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.4544, allocations: 0.6863 MB / 0.7865 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.024e-05/0.4544, allocations: 3.594 kB / 0.7865 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.454e-05/0.4545, allocations: 13.17 kB / 0.7865 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4545, allocations: 0 / 0.7865 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.4771, allocations: 1.204 MB / 0.7877 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/8.222, allocations: 2.922 kB / 0.7877 GB, free: 8.328 MB / 0.5606 GB (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)