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.00499/0.00499, allocations: 103.3 kB / 15.73 MB, free: 6 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.001129/0.001129, allocations: 193.8 kB / 16.68 MB, free: 5.922 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7491/0.7491, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 69.55 kB / 0.5808 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1468, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07574/0.2226, allocations: 75.12 MB / 0.7325 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.24, allocations: 12.73 MB / 0.745 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.2427, allocations: 63.62 kB / 0.745 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.2453, allocations: 0.8345 MB / 0.7458 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3352/0.5805, allocations: 2.449 MB / 0.7482 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.584, allocations: 1.388 MB / 0.7496 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006256/0.5903, allocations: 4.382 MB / 0.7539 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002156/0.5925, allocations: 1.438 MB / 0.7553 GB, free: 27.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/0.597, allocations: 1.658 MB / 0.7569 GB, free: 27.54 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002166/0.5992, allocations: 1.201 MB / 0.7581 GB, free: 27.36 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.5996, allocations: 162.1 kB / 0.7582 GB, free: 27.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003491/0.6031, allocations: 1.399 MB / 0.7596 GB, free: 27.36 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000438/0.6036, allocations: 402.8 kB / 0.76 GB, free: 27.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001065/0.6046, allocations: 0.9031 MB / 0.7609 GB, free: 27.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004269/0.6089, allocations: 2.878 MB / 0.7637 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6089, allocations: 0 / 0.7637 GB, free: 26.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6089, allocations: 5.062 kB / 0.7637 GB, free: 26.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.346e-05/0.609, allocations: 0 / 0.7637 GB, free: 26.77 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.003722/0.6127, allocations: 2.08 MB / 0.7657 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6128, allocations: 9.531 kB / 0.7657 GB, free: 25.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.613, allocations: 156.3 kB / 0.7659 GB, free: 25.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.6138, allocations: 231.9 kB / 0.7661 GB, free: 25.58 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002134/0.6159, allocations: 1.522 MB / 0.7676 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.678e-05/0.616, allocations: 76.28 kB / 0.7676 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.6162, allocations: 102.6 kB / 0.7677 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.6179, allocations: 1.098 MB / 0.7688 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.618, allocations: 1.062 kB / 0.7688 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.869e-05/0.6181, allocations: 39.19 kB / 0.7688 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.6181, allocations: 30.16 kB / 0.7689 GB, free: 25.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.6198, allocations: 0.8889 MB / 0.7697 GB, free: 25.01 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.004856/0.6247, allocations: 4.892 MB / 0.7745 GB, free: 22.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.6259, allocations: 0.6227 MB / 0.7751 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006263/0.6265, allocations: 355 kB / 0.7755 GB, free: 22.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004047/0.6269, allocations: 0.8276 MB / 0.7763 GB, free: 21.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.627, allocations: 43.34 kB / 0.7763 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.355e-06/0.627, allocations: 0 / 0.7763 GB, free: 21.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006223/0.6332, allocations: 1.677 MB / 0.778 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.6332, allocations: 62.31 kB / 0.778 GB, free: 21.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.6347, allocations: 1.231 MB / 0.7792 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/0.6348, allocations: 40.17 kB / 0.7793 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.6352, allocations: 0.5968 MB / 0.7798 GB, free: 21.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.6353, allocations: 218.5 kB / 0.78 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.6355, allocations: 156.7 kB / 0.7802 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.6356, allocations: 335.1 kB / 0.7805 GB, free: 20.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.6362, allocations: 289.2 kB / 0.7808 GB, free: 20.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.6369, allocations: 499.2 kB / 0.7813 GB, free: 20.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.638, allocations: 0.7103 MB / 0.782 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.638, allocations: 0 / 0.782 GB, free: 20.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003975/0.642, allocations: 1.269 MB / 0.7832 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.642, allocations: 5.406 kB / 0.7832 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6421, allocations: 6.094 kB / 0.7832 GB, free: 20.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005271/0.6426, allocations: 140.1 kB / 0.7833 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.6431, allocations: 164.6 kB / 0.7835 GB, free: 19.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005886/0.6437, allocations: 0.6878 MB / 0.7842 GB, free: 19.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/0.6447, allocations: 116.9 kB / 0.7843 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/0.6448, allocations: 37.28 kB / 0.7843 GB, free: 19.32 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008887/0.6457, allocations: 0.5498 MB / 0.7849 GB, free: 19.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006702/0.6464, allocations: 496.1 kB / 0.7853 GB, free: 18.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001096/0.6475, allocations: 0.6991 MB / 0.786 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.6475, allocations: 5.047 kB / 0.786 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003897/0.6514, allocations: 1.264 MB / 0.7873 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6514, allocations: 10.72 kB / 0.7873 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.6514, allocations: 3.781 kB / 0.7873 GB, free: 18.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.6518, allocations: 145.6 kB / 0.7874 GB, free: 17.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.6523, allocations: 159.6 kB / 0.7876 GB, free: 17.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005652/0.6529, allocations: 0.6949 MB / 0.7882 GB, free: 17.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009765/0.6539, allocations: 97.58 kB / 0.7883 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.502e-05/0.654, allocations: 29.55 kB / 0.7884 GB, free: 17.34 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.000223/0.6542, allocations: 230.2 kB / 0.7886 GB, free: 17.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.6544, allocations: 146.4 kB / 0.7887 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.6582, allocations: 1.256 MB / 0.7899 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.6583, allocations: 6.875 kB / 0.7899 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6583, allocations: 0 / 0.7899 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003347/0.6616, allocations: 1.098 MB / 0.791 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.6669, allocations: 2.619 MB / 0.7936 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6669, allocations: 4.625 kB / 0.7936 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.6673, allocations: 114.7 kB / 0.7937 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.6678, allocations: 126.6 kB / 0.7938 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.6678, allocations: 26.33 kB / 0.7938 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003827/0.6716, allocations: 2.587 MB / 0.7964 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.6717, allocations: 8.656 kB / 0.7964 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00438/0.676, allocations: 1.699 MB / 0.798 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.6765, allocations: 311.7 kB / 0.7983 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.6767, allocations: 16.44 kB / 0.7983 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/0.6775, allocations: 57.44 kB / 0.7984 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6776, allocations: 62.33 kB / 0.7985 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.6776, allocations: 30.2 kB / 0.7985 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009856/0.6786, allocations: 0.8814 MB / 0.7993 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6786, allocations: 4 kB / 0.7994 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001711/0.6803, allocations: 0.7166 MB / 0.8001 GB, free: 9.926 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.005162/0.6855, allocations: 2.581 MB / 0.8026 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.6877, allocations: 1.123 MB / 0.8037 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.6877, allocations: 3.031 kB / 0.8037 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.6889, allocations: 0.5564 MB / 0.8042 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.6917, allocations: 0.7969 MB / 0.805 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.708, allocations: 9.793 MB / 0.8146 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008633/0.7089, allocations: 1.172 MB / 0.8157 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001148/0.7101, allocations: 303 kB / 0.816 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.7108, allocations: 0.511 MB / 0.8165 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.7108, allocations: 0 / 0.8165 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09598/0.8068, allocations: 43.19 MB / 0.8587 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.7, allocations: 11.69 kB / 0.8587 GB, free: 15.92 MB / 0.6387 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)