Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002159/0.00216, allocations: 181.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5225/0.5225, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.616/1.616, allocations: 223.2 MB / 354.3 MB, free: 10.46 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009445/0.0009444, allocations: 115.1 kB / 427.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 8 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1665, allocations: 72.31 MB / 0.5689 GB, free: 1.602 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.331, allocations: 387 MB / 0.9468 GB, free: 80.09 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/1.331, allocations: 88.52 kB / 0.9469 GB, free: 80.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.958/5.289, allocations: 1.071 GB / 2.018 GB, free: 93.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/5.289, allocations: 0 / 2.018 GB, free: 93.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001155/5.289, allocations: 33.17 kB / 2.018 GB, free: 93.86 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003624/5.293, allocations: 1.717 MB / 2.02 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/5.293, allocations: 9.656 kB / 2.02 GB, free: 93.18 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/5.293, allocations: 121.3 kB / 2.02 GB, free: 93.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/5.295, allocations: 451.4 kB / 2.02 GB, free: 93.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/5.298, allocations: 1.316 MB / 2.022 GB, free: 92.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003166/5.298, allocations: 127.2 kB / 2.022 GB, free: 92.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/5.298, allocations: 82.28 kB / 2.022 GB, free: 92.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/5.3, allocations: 1.005 MB / 2.023 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/5.3, allocations: 1.406 kB / 2.023 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/5.3, allocations: 31.28 kB / 2.023 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.77e-05/5.3, allocations: 31.59 kB / 2.023 GB, free: 92.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/5.302, allocations: 0.9095 MB / 2.024 GB, free: 92.59 MB / 0.6198 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.005632/5.308, allocations: 4.722 MB / 2.028 GB, free: 90.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/5.311, allocations: 0.8994 MB / 2.029 GB, free: 90.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005154/5.312, allocations: 0.9051 MB / 2.03 GB, free: 89.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/5.312, allocations: 42.12 kB / 2.03 GB, free: 89.03 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=43): time 2.875e-06/5.312, allocations: 3.609 kB / 2.03 GB, free: 89.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.008032/5.32, allocations: 2.03 MB / 2.032 GB, free: 88.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/5.32, allocations: 57.19 kB / 2.032 GB, free: 88.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/5.322, allocations: 0.943 MB / 2.033 GB, free: 88.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/5.322, allocations: 36.55 kB / 2.033 GB, free: 88.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/5.322, allocations: 0.5442 MB / 2.034 GB, free: 88.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/5.322, allocations: 144.4 kB / 2.034 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/5.322, allocations: 10.06 kB / 2.034 GB, free: 88.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.429e-05/5.322, allocations: 326.2 kB / 2.034 GB, free: 88.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007452/5.323, allocations: 309.9 kB / 2.034 GB, free: 88.06 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/5.324, allocations: 0.5426 MB / 2.035 GB, free: 87.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/5.325, allocations: 346.5 kB / 2.035 GB, free: 87.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/5.325, allocations: 6.531 kB / 2.035 GB, free: 87.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003765/5.329, allocations: 1.221 MB / 2.037 GB, free: 87.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003065/5.329, allocations: 1.581 MB / 2.038 GB, free: 86.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/5.329, allocations: 3.812 kB / 2.038 GB, free: 86.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/5.33, allocations: 368.3 kB / 2.038 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/5.331, allocations: 121.2 kB / 2.039 GB, free: 86.03 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/5.332, allocations: 0.9697 MB / 2.039 GB, free: 85.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/5.334, allocations: 197.9 kB / 2.04 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/5.334, allocations: 28.69 kB / 2.04 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/5.334, allocations: 3.938 kB / 2.04 GB, free: 85.49 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00358/5.337, allocations: 1.103 MB / 2.041 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/5.337, allocations: 3.469 kB / 2.041 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/5.339, allocations: 360.8 kB / 2.041 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/5.339, allocations: 118.3 kB / 2.041 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/5.34, allocations: 0.9635 MB / 2.042 GB, free: 84.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/5.342, allocations: 169.6 kB / 2.042 GB, free: 84.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/5.342, allocations: 32.5 kB / 2.042 GB, free: 84.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005757/5.342, allocations: 354.7 kB / 2.043 GB, free: 84.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/5.343, allocations: 114.4 kB / 2.043 GB, free: 84.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/5.345, allocations: 1.006 MB / 2.044 GB, free: 84.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/5.345, allocations: 7.844 kB / 2.044 GB, free: 84.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/5.345, allocations: 0 / 2.044 GB, free: 84.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/5.345, allocations: 14.09 kB / 2.044 GB, free: 84.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/5.35, allocations: 2.237 MB / 2.046 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/5.35, allocations: 2.875 kB / 2.046 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/5.35, allocations: 66.69 kB / 2.046 GB, free: 84.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/5.352, allocations: 368.5 kB / 2.046 GB, free: 84.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/5.352, allocations: 14.44 kB / 2.046 GB, free: 84.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/5.353, allocations: 1.004 MB / 2.047 GB, free: 83.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/5.353, allocations: 3.625 kB / 2.047 GB, free: 83.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/5.356, allocations: 1.384 MB / 2.049 GB, free: 83.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005886/5.357, allocations: 280.3 kB / 2.049 GB, free: 83.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/5.357, allocations: 14.59 kB / 2.049 GB, free: 83.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009808/5.358, allocations: 107 kB / 2.049 GB, free: 83.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.086e-05/5.358, allocations: 47.56 kB / 2.049 GB, free: 83.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/5.358, allocations: 21.11 kB / 2.049 GB, free: 83.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.00125/5.36, allocations: 0.7496 MB / 2.05 GB, free: 82.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.51e-07/5.36, allocations: 0 / 2.05 GB, free: 82.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002147/5.362, allocations: 0.6205 MB / 2.051 GB, free: 82.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004951/5.367, allocations: 3.042 MB / 2.054 GB, free: 81.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00316/5.37, allocations: 1.162 MB / 2.055 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/5.37, allocations: 0 / 2.055 GB, free: 81.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008858/5.371, allocations: 397.2 kB / 2.055 GB, free: 81.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/5.373, allocations: 0.4942 MB / 2.056 GB, free: 81.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/5.391, allocations: 9.606 MB / 2.065 GB, free: 76.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/5.392, allocations: 1.082 MB / 2.066 GB, free: 75.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001167/5.393, allocations: 220.3 kB / 2.066 GB, free: 75.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005211/5.394, allocations: 405.6 kB / 2.067 GB, free: 75.71 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/5.394, allocations: 3.688 kB / 2.067 GB, free: 75.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06295/5.457, allocations: 38.28 MB / 2.104 GB, free: 73.67 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/5.457, allocations: 245.9 kB / 2.104 GB, free: 73.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/8.793, allocations: 0 / 2.104 GB, free: 73.35 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)