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.00741/0.00741, allocations: 101 kB / 15.73 MB, free: 6.059 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.00192/0.00192, allocations: 194.4 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8015/0.8015, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 62.06 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1469, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07854/0.2255, allocations: 75.13 MB / 0.7326 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.244, allocations: 12.72 MB / 0.745 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.2463, allocations: 67.62 kB / 0.745 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002106/0.2484, allocations: 0.8306 MB / 0.7458 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3353/0.5837, allocations: 2.447 MB / 0.7482 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.5874, allocations: 1.393 MB / 0.7496 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005847/0.5932, allocations: 4.378 MB / 0.7539 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.5956, allocations: 1.439 MB / 0.7553 GB, free: 28.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004157/0.5997, allocations: 1.626 MB / 0.7569 GB, free: 28.04 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.6022, allocations: 1.192 MB / 0.758 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.6026, allocations: 163.2 kB / 0.7582 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00335/0.606, allocations: 1.406 MB / 0.7596 GB, free: 27.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.6064, allocations: 395.5 kB / 0.7599 GB, free: 27.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.6076, allocations: 0.9048 MB / 0.7608 GB, free: 27.56 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004868/0.6124, allocations: 2.888 MB / 0.7636 GB, free: 27.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6125, allocations: 0 / 0.7636 GB, free: 27.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6125, allocations: 0 / 0.7636 GB, free: 27.21 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.181e-05/0.6125, allocations: 0 / 0.7636 GB, free: 27.21 MB / 0.5762 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.00409/0.6166, allocations: 2.137 MB / 0.7657 GB, free: 26.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.6166, allocations: 8.812 kB / 0.7657 GB, free: 26.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.6169, allocations: 150.6 kB / 0.7659 GB, free: 26.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/0.6178, allocations: 236.3 kB / 0.7661 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.6202, allocations: 1.537 MB / 0.7676 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.6203, allocations: 77.52 kB / 0.7677 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.6204, allocations: 103.3 kB / 0.7678 GB, free: 25.55 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.6224, allocations: 1.097 MB / 0.7688 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.6225, allocations: 8.203 kB / 0.7689 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.083e-05/0.6225, allocations: 40.97 kB / 0.7689 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.6226, allocations: 24.44 kB / 0.7689 GB, free: 25.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.6244, allocations: 0.8857 MB / 0.7698 GB, free: 25.39 MB / 0.5762 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.006306/0.6307, allocations: 4.906 MB / 0.7746 GB, free: 23.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.6322, allocations: 0.6287 MB / 0.7752 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.6329, allocations: 355.3 kB / 0.7755 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/0.6334, allocations: 0.8246 MB / 0.7763 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.6334, allocations: 44.81 kB / 0.7764 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.6334, allocations: 0 / 0.7764 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006944/0.6404, allocations: 1.681 MB / 0.778 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.6404, allocations: 61.77 kB / 0.7781 GB, free: 21.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.642, allocations: 1.224 MB / 0.7793 GB, free: 21.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.665e-05/0.6421, allocations: 40.45 kB / 0.7793 GB, free: 21.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.6425, allocations: 0.6172 MB / 0.7799 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.6427, allocations: 225.4 kB / 0.7801 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.6429, allocations: 155.2 kB / 0.7803 GB, free: 21.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.643, allocations: 333.6 kB / 0.7806 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.6436, allocations: 292.1 kB / 0.7809 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/0.6443, allocations: 496 kB / 0.7813 GB, free: 20.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6456, allocations: 0.7108 MB / 0.782 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.6456, allocations: 5.188 kB / 0.782 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004294/0.6499, allocations: 1.285 MB / 0.7833 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.6499, allocations: 7.656 kB / 0.7833 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6499, allocations: 2.75 kB / 0.7833 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005222/0.6505, allocations: 137.1 kB / 0.7834 GB, free: 20 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.651, allocations: 162 kB / 0.7836 GB, free: 19.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006403/0.6517, allocations: 0.6918 MB / 0.7843 GB, free: 19.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.6527, allocations: 123.6 kB / 0.7844 GB, free: 19.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.518e-05/0.6528, allocations: 34.73 kB / 0.7844 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009887/0.6538, allocations: 0.5474 MB / 0.785 GB, free: 19.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007234/0.6545, allocations: 497 kB / 0.7854 GB, free: 18.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001259/0.6558, allocations: 0.7027 MB / 0.7861 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.6558, allocations: 0 / 0.7861 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004264/0.6601, allocations: 1.266 MB / 0.7874 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.6601, allocations: 6.844 kB / 0.7874 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.6601, allocations: 10.72 kB / 0.7874 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.6606, allocations: 139.3 kB / 0.7875 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.6611, allocations: 158.5 kB / 0.7877 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006148/0.6617, allocations: 0.6975 MB / 0.7883 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.6627, allocations: 105.1 kB / 0.7884 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.6628, allocations: 30.73 kB / 0.7885 GB, free: 17.36 MB / 0.5762 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.0002075/0.663, allocations: 230.3 kB / 0.7887 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.6632, allocations: 144.1 kB / 0.7888 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.6674, allocations: 1.261 MB / 0.7901 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.6674, allocations: 9.656 kB / 0.7901 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6674, allocations: 4 kB / 0.7901 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003701/0.6711, allocations: 1.102 MB / 0.7911 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.6768, allocations: 2.611 MB / 0.7937 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.6768, allocations: 4.625 kB / 0.7937 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.6772, allocations: 112.6 kB / 0.7938 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.6777, allocations: 128.9 kB / 0.7939 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.6777, allocations: 27.73 kB / 0.794 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004168/0.6819, allocations: 2.59 MB / 0.7965 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6819, allocations: 10.06 kB / 0.7965 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004728/0.6866, allocations: 1.697 MB / 0.7981 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005146/0.6872, allocations: 320.8 kB / 0.7985 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.6873, allocations: 18.84 kB / 0.7985 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007477/0.6881, allocations: 53.06 kB / 0.7985 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.6882, allocations: 64.58 kB / 0.7986 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.6883, allocations: 29.7 kB / 0.7986 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00101/0.6893, allocations: 0.8848 MB / 0.7995 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6893, allocations: 0 / 0.7995 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001703/0.691, allocations: 0.7212 MB / 0.8002 GB, free: 9.922 MB / 0.5762 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.005571/0.6966, allocations: 2.595 MB / 0.8027 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.6989, allocations: 1.12 MB / 0.8038 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6989, allocations: 3.938 kB / 0.8038 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.7002, allocations: 0.5555 MB / 0.8044 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.7034, allocations: 0.7994 MB / 0.8051 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.7206, allocations: 9.835 MB / 0.8147 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.7216, allocations: 1.176 MB / 0.8159 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001147/0.7227, allocations: 307 kB / 0.8162 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007181/0.7234, allocations: 0.5032 MB / 0.8167 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.7235, allocations: 0 / 0.8167 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08393/0.8074, allocations: 42.4 MB / 0.8581 GB, free: 0.7031 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.55/18.36, allocations: 10.36 kB / 0.8581 GB, free: 0.6953 MB / 0.6231 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/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)