Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",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.001382/0.001382, allocations: 100 kB / 15.05 MB, free: 1.105 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.001761/0.001761, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.295/2.295, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.336/1.336, allocations: 132.2 MB / 423.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005581/0.0005585, allocations: 8.531 kB / 0.5033 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7/0.7006, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.0835/0.7842, allocations: 62.93 MB / 0.6444 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02043/0.8047, allocations: 10.98 MB / 0.6551 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003809/0.8085, allocations: 51.62 kB / 0.6552 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.8135, allocations: 0.7423 MB / 0.6559 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0151/0.8286, allocations: 2.302 MB / 0.6582 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009226/0.8378, allocations: 1.516 MB / 0.6596 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.8486, allocations: 2.503 MB / 0.6621 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.8525, allocations: 1.037 MB / 0.6631 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.8577, allocations: 1.16 MB / 0.6642 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/0.8598, allocations: 0.7661 MB / 0.665 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.8601, allocations: 56 kB / 0.665 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003388/0.8635, allocations: 0.8347 MB / 0.6658 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.8638, allocations: 266.9 kB / 0.6661 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006233/0.8645, allocations: 356.9 kB / 0.6664 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.8673, allocations: 2.011 MB / 0.6684 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.8674, allocations: 0 / 0.6684 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.346e-06/0.8674, allocations: 0 / 0.6684 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.775e-05/0.8674, allocations: 3.938 kB / 0.6684 GB, free: 8.961 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004006/0.8714, allocations: 1.787 MB / 0.6701 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.8715, allocations: 8.031 kB / 0.6702 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.8717, allocations: 147.9 kB / 0.6703 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.8726, allocations: 238 kB / 0.6705 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/0.8755, allocations: 1.381 MB / 0.6719 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.8755, allocations: 74 kB / 0.6719 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.8757, allocations: 108 kB / 0.672 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.8781, allocations: 1.104 MB / 0.6731 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.8781, allocations: 7.938 kB / 0.6731 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.8782, allocations: 36 kB / 0.6732 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.094e-05/0.8783, allocations: 28 kB / 0.6732 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002381/0.8807, allocations: 0.9173 MB / 0.6741 GB, free: 2.973 MB / 0.4981 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.01111/0.8918, allocations: 4.966 MB / 0.6789 GB, free: 13.72 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.8944, allocations: 0.6361 MB / 0.6796 GB, free: 13.08 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.8955, allocations: 0.8238 MB / 0.6804 GB, free: 12.07 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.8956, allocations: 39.12 kB / 0.6804 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=61): time 4.638e-06/0.8956, allocations: 0 / 0.6804 GB, free: 12.02 MB / 0.5138 GB Notification: Performance of matching and sorting (n=61): time 0.01368/0.9093, allocations: 1.881 MB / 0.6822 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.9094, allocations: 59.97 kB / 0.6823 GB, free: 10.04 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.9129, allocations: 1.245 MB / 0.6835 GB, free: 8.781 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0002655/0.9132, allocations: 37.7 kB / 0.6835 GB, free: 8.738 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009458/0.9141, allocations: 0.6026 MB / 0.6841 GB, free: 8.129 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004613/0.9146, allocations: 216.8 kB / 0.6843 GB, free: 7.914 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.9147, allocations: 16 kB / 0.6844 GB, free: 7.898 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.9149, allocations: 338 kB / 0.6847 GB, free: 7.562 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.9163, allocations: 293.8 kB / 0.685 GB, free: 7.277 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.9178, allocations: 0.4974 MB / 0.6854 GB, free: 6.711 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.9191, allocations: 355 kB / 0.6858 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.9191, allocations: 0 / 0.6858 GB, free: 6.367 MB / 0.5138 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.009131/0.9283, allocations: 1.398 MB / 0.6871 GB, free: 4.961 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009919/0.9293, allocations: 1.421 MB / 0.6885 GB, free: 3.457 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.9294, allocations: 7.953 kB / 0.6885 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.9305, allocations: 144.7 kB / 0.6887 GB, free: 3.305 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.9319, allocations: 159.8 kB / 0.6888 GB, free: 3.148 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.9335, allocations: 0.7122 MB / 0.6895 GB, free: 2.41 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.9365, allocations: 167.1 kB / 0.6897 GB, free: 2.246 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.9367, allocations: 35.98 kB / 0.6897 GB, free: 2.211 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.9368, allocations: 4 kB / 0.6897 GB, free: 2.207 MB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00849/0.9453, allocations: 1.241 MB / 0.6909 GB, free: 0.9609 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.9454, allocations: 4.375 kB / 0.6909 GB, free: 0.957 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.9464, allocations: 148.7 kB / 0.6911 GB, free: 0.8086 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.9478, allocations: 167.8 kB / 0.6912 GB, free: 0.6445 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.9494, allocations: 0.7122 MB / 0.6919 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.9522, allocations: 163.1 kB / 0.6921 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/0.9524, allocations: 35.98 kB / 0.6921 GB, free: 15.71 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.001266/0.9536, allocations: 412.9 kB / 0.6925 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/0.9543, allocations: 134.4 kB / 0.6926 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005911/0.9602, allocations: 1.4 MB / 0.694 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.313e-05/0.9603, allocations: 8 kB / 0.694 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.799e-05/0.9603, allocations: 0 / 0.694 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005794/0.9661, allocations: 1.228 MB / 0.6952 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009163/0.9753, allocations: 2.766 MB / 0.6979 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.9754, allocations: 4 kB / 0.6979 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.976, allocations: 128.2 kB / 0.6981 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005853/0.9766, allocations: 132.7 kB / 0.6982 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.992e-05/0.9767, allocations: 23.98 kB / 0.6982 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005858/0.9826, allocations: 2.501 MB / 0.7006 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.9826, allocations: 4 kB / 0.7006 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006615/0.9892, allocations: 2.05 MB / 0.7026 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.9905, allocations: 347 kB / 0.703 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004944/0.991, allocations: 19.98 kB / 0.703 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.9924, allocations: 108.3 kB / 0.7031 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.9926, allocations: 52.33 kB / 0.7032 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.673e-05/0.9927, allocations: 39.97 kB / 0.7032 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001806/0.9945, allocations: 0.8933 MB / 0.7041 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9945, allocations: 0 / 0.7041 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002525/0.9971, allocations: 0.7174 MB / 0.7048 GB, free: 2.203 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00781/1.005, allocations: 3.85 MB / 0.7085 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003117/1.008, allocations: 1.157 MB / 0.7097 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.008, allocations: 4.125 kB / 0.7097 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/1.01, allocations: 0.5953 MB / 0.7102 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004212/1.014, allocations: 0.753 MB / 0.711 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007371/1.021, allocations: 5.928 MB / 0.7168 GB, free: 5.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009279/1.022, allocations: 1.192 MB / 0.7179 GB, free: 4.422 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001504/1.024, allocations: 306.7 kB / 0.7182 GB, free: 4.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007979/1.025, allocations: 0.5071 MB / 0.7187 GB, free: 3.613 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.025, allocations: 0 / 0.7187 GB, free: 3.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09879/1.124, allocations: 41.85 MB / 0.7596 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003801/1.124, allocations: 224.7 kB / 0.7598 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.48/5.604, allocations: 4 kB / 0.7598 GB, free: 10.06 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: