Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_TEva",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.0007088/0.0007088, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005218/0.005218, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.198/1.198, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 270.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8902/0.8902, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.000379, allocations: 19.55 kB / 0.5988 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1344, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva): time 0.04845/0.1829, allocations: 59.68 MB / 0.7435 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.1966, allocations: 11.91 MB / 0.7551 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.1982, allocations: 55.69 kB / 0.7552 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.1996, allocations: 0.5477 MB / 0.7557 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004322/0.204, allocations: 1.808 MB / 0.7575 GB, free: 4.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.2064, allocations: 1.075 MB / 0.7585 GB, free: 3.723 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.2801/0.4865, allocations: 3.891 MB / 0.7623 GB, free: 23.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.4882, allocations: 0.8931 MB / 0.7632 GB, free: 23.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.4904, allocations: 1.123 MB / 0.7643 GB, free: 23.49 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.4917, allocations: 0.8556 MB / 0.7651 GB, free: 23.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.4918, allocations: 41.84 kB / 0.7652 GB, free: 23.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.4943, allocations: 1.337 MB / 0.7665 GB, free: 23.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.4946, allocations: 211 kB / 0.7667 GB, free: 23.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006913/0.4953, allocations: 0.6323 MB / 0.7673 GB, free: 23.31 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.4981, allocations: 2.183 MB / 0.7694 GB, free: 23.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4981, allocations: 3 kB / 0.7694 GB, free: 23.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4981, allocations: 0 / 0.7694 GB, free: 23.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.786e-05/0.4981, allocations: 4.781 kB / 0.7694 GB, free: 23.11 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002496/0.5006, allocations: 1.495 MB / 0.7709 GB, free: 22.23 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.5007, allocations: 9.781 kB / 0.7709 GB, free: 22.23 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.5008, allocations: 122.2 kB / 0.771 GB, free: 22.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.503, allocations: 476.7 kB / 0.7715 GB, free: 22.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.5047, allocations: 1.122 MB / 0.7726 GB, free: 21.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.5051, allocations: 130.3 kB / 0.7727 GB, free: 21.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.5052, allocations: 79.36 kB / 0.7728 GB, free: 21.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.507, allocations: 1.005 MB / 0.7738 GB, free: 21.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.5071, allocations: 4.703 kB / 0.7738 GB, free: 21.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/0.5071, allocations: 32.06 kB / 0.7738 GB, free: 21.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.5072, allocations: 18.22 kB / 0.7738 GB, free: 21.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.5093, allocations: 0.9135 MB / 0.7747 GB, free: 21.52 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00521/0.5145, allocations: 4.891 MB / 0.7795 GB, free: 18.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/0.5178, allocations: 0.9003 MB / 0.7804 GB, free: 18.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006623/0.5185, allocations: 317.5 kB / 0.7807 GB, free: 18.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/0.5189, allocations: 0.9021 MB / 0.7815 GB, free: 17.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.5189, allocations: 44.48 kB / 0.7816 GB, free: 17.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 1.874e-06/0.5189, allocations: 1.281 kB / 0.7816 GB, free: 17.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.006664/0.5256, allocations: 1.955 MB / 0.7835 GB, free: 17.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.5256, allocations: 60.3 kB / 0.7836 GB, free: 17.31 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.527, allocations: 1.057 MB / 0.7846 GB, free: 17.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.527, allocations: 37.73 kB / 0.7846 GB, free: 17.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/0.5273, allocations: 0.5173 MB / 0.7851 GB, free: 16.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.323e-05/0.5274, allocations: 153.5 kB / 0.7853 GB, free: 16.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.69e-05/0.5275, allocations: 48.44 kB / 0.7853 GB, free: 16.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.5276, allocations: 335.2 kB / 0.7856 GB, free: 16.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008447/0.5284, allocations: 322 kB / 0.786 GB, free: 16.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.5293, allocations: 0.5247 MB / 0.7865 GB, free: 16.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.5309, allocations: 0.726 MB / 0.7872 GB, free: 16.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.5309, allocations: 4.938 kB / 0.7872 GB, free: 16.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003629/0.5345, allocations: 1.214 MB / 0.7884 GB, free: 15.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.5347, allocations: 219.1 kB / 0.7886 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.5347, allocations: 7.938 kB / 0.7886 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.536, allocations: 333.9 kB / 0.7889 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.5365, allocations: 124.8 kB / 0.789 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.5378, allocations: 0.9414 MB / 0.7899 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.539, allocations: 195.5 kB / 0.7901 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.5391, allocations: 28.61 kB / 0.7902 GB, free: 15.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.5391, allocations: 4.188 kB / 0.7902 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003056/0.5422, allocations: 1.062 MB / 0.7912 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5422, allocations: 4.594 kB / 0.7912 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009983/0.5432, allocations: 324 kB / 0.7915 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.5437, allocations: 129.2 kB / 0.7916 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.545, allocations: 0.9407 MB / 0.7925 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.5461, allocations: 177.9 kB / 0.7927 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.5461, allocations: 30.23 kB / 0.7927 GB, free: 14.42 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004437/0.5466, allocations: 352.6 kB / 0.7931 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.5467, allocations: 106.3 kB / 0.7932 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.5489, allocations: 0.9809 MB / 0.7941 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5489, allocations: 10.16 kB / 0.7941 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.549, allocations: 0.5625 kB / 0.7942 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.549, allocations: 3.891 kB / 0.7942 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004522/0.5535, allocations: 2.26 MB / 0.7964 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5535, allocations: 4.188 kB / 0.7964 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.5538, allocations: 76.59 kB / 0.7964 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009272/0.5547, allocations: 318.9 kB / 0.7967 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.5547, allocations: 18.47 kB / 0.7968 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.556, allocations: 0.9743 MB / 0.7977 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.556, allocations: 2.5 kB / 0.7977 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00327/0.5593, allocations: 1.262 MB / 0.7989 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.5596, allocations: 275.2 kB / 0.7992 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5598, allocations: 22.86 kB / 0.7992 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008142/0.5606, allocations: 117.8 kB / 0.7993 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.5607, allocations: 34.09 kB / 0.7994 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.5607, allocations: 24.45 kB / 0.7994 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009838/0.5617, allocations: 0.743 MB / 0.8001 GB, free: 12.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5617, allocations: 0 / 0.8001 GB, free: 12.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001433/0.5631, allocations: 0.5578 MB / 0.8007 GB, free: 12.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003868/0.567, allocations: 2.083 MB / 0.8027 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002676/0.5697, allocations: 1.167 MB / 0.8038 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5697, allocations: 4.125 kB / 0.8038 GB, free: 11.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007704/0.5705, allocations: 362.2 kB / 0.8042 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.573, allocations: 0.5131 MB / 0.8047 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.5886, allocations: 9.199 MB / 0.8137 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.589, allocations: 1.068 MB / 0.8147 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009213/0.5899, allocations: 213.8 kB / 0.8149 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004206/0.5903, allocations: 411.6 kB / 0.8153 GB, free: 5.848 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5904, allocations: 0 / 0.8153 GB, free: 5.848 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.542/3.132, allocations: 32.03 MB / 0.8466 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/3.132, allocations: 280.5 kB / 0.8469 GB, free: 10 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.992/7.124, allocations: 0 / 0.8469 GB, free: 10 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Examples_Carnot_TEva.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)