Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001347/0.001347, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.000953/0.0009535, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.3 MB / 426.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003529, allocations: 8 kB / 0.5071 GB, free: 5.07 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 82.31 MB / 0.5875 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3831/0.5691, allocations: 65.06 MB / 0.651 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01883/0.588, allocations: 17.68 MB / 0.6683 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003039/0.5911, allocations: 63.28 kB / 0.6683 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.5933, allocations: 0.5203 MB / 0.6688 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008892/0.6022, allocations: 2.1 MB / 0.6709 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004517/0.6067, allocations: 1.082 MB / 0.6719 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008619/0.6153, allocations: 4.382 MB / 0.6762 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.6181, allocations: 1.022 MB / 0.6772 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004685/0.6228, allocations: 1.327 MB / 0.6785 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003238/0.6261, allocations: 1.04 MB / 0.6795 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.6264, allocations: 57.59 kB / 0.6796 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004197/0.6306, allocations: 0.9121 MB / 0.6805 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004155/0.6311, allocations: 247.2 kB / 0.6807 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008687/0.6319, allocations: 373.6 kB / 0.6811 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004902/0.6368, allocations: 2.287 MB / 0.6833 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6369, allocations: 0 / 0.6833 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6369, allocations: 0 / 0.6833 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.505e-05/0.637, allocations: 0 / 0.6833 GB, free: 10.74 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00451/0.6415, allocations: 1.731 MB / 0.685 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6415, allocations: 10.02 kB / 0.685 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002861/0.6418, allocations: 153.6 kB / 0.6851 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.6441, allocations: 0.4924 MB / 0.6856 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.6477, allocations: 1.469 MB / 0.6871 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.6481, allocations: 150.2 kB / 0.6872 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.6483, allocations: 102.6 kB / 0.6873 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/0.6515, allocations: 1.316 MB / 0.6886 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.6515, allocations: 1.375 kB / 0.6886 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.6516, allocations: 43.11 kB / 0.6886 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.6517, allocations: 25.34 kB / 0.6887 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.6546, allocations: 1.156 MB / 0.6898 GB, free: 7.273 MB / 0.5137 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.01052/0.6651, allocations: 7.175 MB / 0.6968 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.6683, allocations: 0.8962 MB / 0.6977 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.669, allocations: 296.9 kB / 0.6979 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/0.6708, allocations: 1.719 MB / 0.6996 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.754e-05/0.6709, allocations: 41.56 kB / 0.6997 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 4.338e-06/0.6709, allocations: 0 / 0.6997 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005387/0.6763, allocations: 1.453 MB / 0.7011 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.6764, allocations: 56.81 kB / 0.7011 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.6795, allocations: 1.527 MB / 0.7026 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.6796, allocations: 34.55 kB / 0.7027 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/0.6803, allocations: 0.6636 MB / 0.7033 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.6806, allocations: 167.8 kB / 0.7035 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.6806, allocations: 15.09 kB / 0.7035 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6808, allocations: 335.8 kB / 0.7038 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009979/0.6818, allocations: 388.4 kB / 0.7042 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.683, allocations: 0.6543 MB / 0.7048 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.6841, allocations: 441.3 kB / 0.7052 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.6841, allocations: 6.281 kB / 0.7052 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003323/0.6874, allocations: 1.212 MB / 0.7064 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/0.6875, allocations: 8.188 kB / 0.7064 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.6875, allocations: 11.09 kB / 0.7064 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.6886, allocations: 229.5 kB / 0.7067 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.6895, allocations: 202.9 kB / 0.7069 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.6905, allocations: 0.7314 MB / 0.7076 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.6929, allocations: 263.1 kB / 0.7078 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/0.693, allocations: 41.06 kB / 0.7079 GB, free: 10.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009341/0.694, allocations: 349.6 kB / 0.7082 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.6943, allocations: 148.5 kB / 0.7083 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.697, allocations: 1.186 MB / 0.7095 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.141e-05/0.697, allocations: 7.031 kB / 0.7095 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.697, allocations: 0 / 0.7095 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.6971, allocations: 5.328 kB / 0.7095 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.7031, allocations: 2.594 MB / 0.712 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.7031, allocations: 1.438 kB / 0.712 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.7035, allocations: 91.36 kB / 0.7121 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007706/0.7043, allocations: 223.6 kB / 0.7123 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.7043, allocations: 17.39 kB / 0.7124 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.7056, allocations: 0.7962 MB / 0.7131 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.7056, allocations: 5.281 kB / 0.7131 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003594/0.7092, allocations: 1.284 MB / 0.7144 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.7103, allocations: 371.3 kB / 0.7147 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.7105, allocations: 16.11 kB / 0.7148 GB, free: 5.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.7115, allocations: 108.2 kB / 0.7149 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7116, allocations: 43.7 kB / 0.7149 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.7117, allocations: 30.05 kB / 0.7149 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002264/0.714, allocations: 1.075 MB / 0.716 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.714, allocations: 3.938 kB / 0.716 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001672/0.7157, allocations: 426.6 kB / 0.7164 GB, free: 5.059 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004321/0.72, allocations: 2.177 MB / 0.7185 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002171/0.7222, allocations: 0.8676 MB / 0.7194 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7222, allocations: 0 / 0.7194 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7234, allocations: 474.8 kB / 0.7198 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003605/0.727, allocations: 0.7013 MB / 0.7205 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/0.7537, allocations: 8.966 MB / 0.7293 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.7548, allocations: 1.168 MB / 0.7304 GB, free: 8.301 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001823/0.7566, allocations: 261.1 kB / 0.7307 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.7578, allocations: 0.5461 MB / 0.7312 GB, free: 7.5 MB / 0.545 GB Notification: Performance of SimCode: time 2.525e-06/0.7578, allocations: 0 / 0.7312 GB, free: 7.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/0.8399, allocations: 42.9 MB / 0.7731 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.8402, allocations: 252 kB / 0.7733 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.849/3.689, allocations: 0 / 0.7733 GB, free: 12.77 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: