Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_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.005671/0.005671, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001268/0.001268, allocations: 188.6 kB / 16.67 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9521/0.9521, allocations: 135.1 MB / 425.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4653/0.4667, allocations: 80.91 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07704/0.5438, allocations: 75.13 MB / 0.7375 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.5634, allocations: 12.73 MB / 0.7499 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003204/0.5666, allocations: 67.62 kB / 0.75 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.5692, allocations: 0.8267 MB / 0.7508 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.577, allocations: 2.467 MB / 0.7532 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003963/0.581, allocations: 1.387 MB / 0.7546 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007328/0.5883, allocations: 4.395 MB / 0.7589 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.5908, allocations: 1.434 MB / 0.7603 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004797/0.5956, allocations: 1.651 MB / 0.7619 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.598, allocations: 1.198 MB / 0.763 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.5984, allocations: 164 kB / 0.7632 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.6019, allocations: 1.408 MB / 0.7646 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.6024, allocations: 394.6 kB / 0.765 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.6037, allocations: 0.9021 MB / 0.7658 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004873/0.6086, allocations: 2.879 MB / 0.7686 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.6087, allocations: 0 / 0.7686 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6087, allocations: 0 / 0.7686 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.028e-05/0.6087, allocations: 3.984 kB / 0.7686 GB, free: 6.25 MB / 0.5919 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.004171/0.6129, allocations: 2.079 MB / 0.7707 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.613, allocations: 8.031 kB / 0.7707 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.6131, allocations: 152.1 kB / 0.7708 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008416/0.614, allocations: 230.5 kB / 0.7711 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.617, allocations: 1.524 MB / 0.7725 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.6171, allocations: 78 kB / 0.7726 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.6173, allocations: 100 kB / 0.7727 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002105/0.6194, allocations: 1.096 MB / 0.7738 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.6194, allocations: 3.938 kB / 0.7738 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.6195, allocations: 43.94 kB / 0.7738 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.6196, allocations: 24 kB / 0.7738 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.6215, allocations: 0.8977 MB / 0.7747 GB, free: 15.86 MB / 0.6075 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.006542/0.6281, allocations: 4.892 MB / 0.7795 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.6296, allocations: 0.6275 MB / 0.7801 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/0.6303, allocations: 347.6 kB / 0.7804 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.631, allocations: 0.8316 MB / 0.7813 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.631, allocations: 39.12 kB / 0.7813 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 3.126e-06/0.6311, allocations: 0 / 0.7813 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007756/0.6388, allocations: 1.681 MB / 0.7829 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.6389, allocations: 59.91 kB / 0.783 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.6406, allocations: 1.222 MB / 0.7842 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.6408, allocations: 45.7 kB / 0.7842 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.6413, allocations: 0.6065 MB / 0.7848 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.6415, allocations: 212.9 kB / 0.785 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.6417, allocations: 154.5 kB / 0.7852 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6419, allocations: 337.9 kB / 0.7855 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.6426, allocations: 292.7 kB / 0.7858 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008663/0.6435, allocations: 0.4895 MB / 0.7863 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.6449, allocations: 0.7051 MB / 0.7869 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6449, allocations: 0 / 0.7869 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004917/0.6499, allocations: 1.273 MB / 0.7882 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6499, allocations: 8 kB / 0.7882 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.6499, allocations: 7.984 kB / 0.7882 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/0.6506, allocations: 133.1 kB / 0.7883 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/0.6513, allocations: 163.8 kB / 0.7885 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008962/0.6522, allocations: 0.6889 MB / 0.7892 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.6533, allocations: 119.1 kB / 0.7893 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/0.6534, allocations: 35.92 kB / 0.7893 GB, free: 204 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001154/0.6546, allocations: 0.5527 MB / 0.7898 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008587/0.6554, allocations: 491.8 kB / 0.7903 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001444/0.6569, allocations: 0.7012 MB / 0.791 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.6569, allocations: 0 / 0.791 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005006/0.6619, allocations: 1.265 MB / 0.7922 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.662, allocations: 10.19 kB / 0.7922 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.662, allocations: 4 kB / 0.7922 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005661/0.6626, allocations: 141 kB / 0.7924 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.6632, allocations: 155.7 kB / 0.7925 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.6641, allocations: 0.7005 MB / 0.7932 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.6653, allocations: 99.52 kB / 0.7933 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.6654, allocations: 28 kB / 0.7933 GB, free: 11.9 MB / 0.6231 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 (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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002718/0.6656, allocations: 232 kB / 0.7936 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.666, allocations: 138.3 kB / 0.7937 GB, free: 11.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.671, allocations: 1.26 MB / 0.7949 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/0.671, allocations: 8 kB / 0.7949 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.671, allocations: 0 / 0.7949 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004484/0.6755, allocations: 1.107 MB / 0.796 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007409/0.683, allocations: 2.614 MB / 0.7986 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.683, allocations: 7.938 kB / 0.7986 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.6836, allocations: 112.2 kB / 0.7987 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005157/0.6841, allocations: 128.8 kB / 0.7988 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.6842, allocations: 23.98 kB / 0.7988 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/0.6895, allocations: 2.579 MB / 0.8013 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.6895, allocations: 8.062 kB / 0.8013 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.6955, allocations: 1.699 MB / 0.803 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.6964, allocations: 307.1 kB / 0.8033 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.6967, allocations: 23.94 kB / 0.8033 GB, free: 1.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.6977, allocations: 59.84 kB / 0.8034 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.6979, allocations: 56.38 kB / 0.8034 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.95e-05/0.698, allocations: 35.92 kB / 0.8035 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001527/0.6995, allocations: 0.8816 MB / 0.8043 GB, free: 236 kB / 0.6231 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6995, allocations: 4 kB / 0.8043 GB, free: 232 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002249/0.7018, allocations: 0.7136 MB / 0.805 GB, free: 15.51 MB / 0.6387 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 (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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0069/0.7087, allocations: 2.583 MB / 0.8076 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.7117, allocations: 1.117 MB / 0.8086 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/0.7117, allocations: 4 kB / 0.8086 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.7133, allocations: 0.5642 MB / 0.8092 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004203/0.7176, allocations: 0.8089 MB / 0.81 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/0.74, allocations: 9.78 MB / 0.8195 GB, free: 304 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009964/0.7411, allocations: 1.172 MB / 0.8207 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001483/0.7426, allocations: 311 kB / 0.821 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/0.7435, allocations: 0.4993 MB / 0.8215 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of SimCode: time 1.363e-06/0.7435, allocations: 0 / 0.8215 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08765/0.8311, allocations: 43.2 MB / 0.8637 GB, free: 3.547 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.83, allocations: 13.28 kB / 0.8637 GB, free: 3.539 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)