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.007162/0.007162, allocations: 97.81 kB / 15.73 MB, free: 6.004 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.001827/0.001827, allocations: 195.4 kB / 16.67 MB, free: 5.934 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9115/0.9115, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 68.08 kB / 0.5857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3365, allocations: 81.03 MB / 0.6649 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07362/0.4102, allocations: 75.12 MB / 0.7382 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.4276, allocations: 12.73 MB / 0.7507 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.4289, allocations: 71.56 kB / 0.7507 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.4306, allocations: 0.8268 MB / 0.7515 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.4352, allocations: 2.463 MB / 0.7539 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.4378, allocations: 1.393 MB / 0.7553 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004313/0.4422, allocations: 4.381 MB / 0.7596 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.4438, allocations: 1.445 MB / 0.761 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/0.4466, allocations: 1.62 MB / 0.7626 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.448, allocations: 1.19 MB / 0.7637 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.4482, allocations: 164 kB / 0.7639 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.4506, allocations: 1.408 MB / 0.7653 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.451, allocations: 398.6 kB / 0.7656 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000871/0.4519, allocations: 0.8983 MB / 0.7665 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.4552, allocations: 2.89 MB / 0.7693 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4552, allocations: 0 / 0.7693 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4552, allocations: 4 kB / 0.7693 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.4553, allocations: 0 / 0.7693 GB, free: 5.586 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.003369/0.4586, allocations: 2.141 MB / 0.7714 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.4587, allocations: 8.031 kB / 0.7714 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.4589, allocations: 148.1 kB / 0.7716 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.4597, allocations: 243.5 kB / 0.7718 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.462, allocations: 1.525 MB / 0.7733 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.462, allocations: 77.98 kB / 0.7734 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4622, allocations: 111.9 kB / 0.7735 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.4641, allocations: 1.1 MB / 0.7746 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.4642, allocations: 0 / 0.7746 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-05/0.4643, allocations: 47.94 kB / 0.7746 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.4643, allocations: 24 kB / 0.7746 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.4662, allocations: 0.8899 MB / 0.7755 GB, free: 15.12 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.005659/0.4719, allocations: 4.912 MB / 0.7803 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4733, allocations: 0.6081 MB / 0.7809 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.474, allocations: 355 kB / 0.7812 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000685/0.4747, allocations: 0.8316 MB / 0.782 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4748, allocations: 35.12 kB / 0.7821 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 5.2e-06/0.4748, allocations: 4 kB / 0.7821 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007126/0.4819, allocations: 1.69 MB / 0.7837 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.482, allocations: 55.97 kB / 0.7838 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.4835, allocations: 1.225 MB / 0.785 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.4836, allocations: 41.7 kB / 0.785 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/0.4841, allocations: 0.6073 MB / 0.7856 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.4843, allocations: 234 kB / 0.7858 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.4846, allocations: 150.6 kB / 0.786 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4847, allocations: 337.9 kB / 0.7863 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.4854, allocations: 292.7 kB / 0.7866 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.4863, allocations: 499.2 kB / 0.7871 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.4877, allocations: 0.7128 MB / 0.7877 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4877, allocations: 4 kB / 0.7878 GB, free: 1.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004453/0.4922, allocations: 1.266 MB / 0.789 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4922, allocations: 11.98 kB / 0.789 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4922, allocations: 4.375 kB / 0.789 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.4928, allocations: 136.7 kB / 0.7891 GB, free: 468 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005742/0.4934, allocations: 167.7 kB / 0.7893 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008772/0.4943, allocations: 0.6928 MB / 0.79 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008065/0.4951, allocations: 115.3 kB / 0.7901 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.65e-05/0.4952, allocations: 35.98 kB / 0.7901 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001024/0.4962, allocations: 0.5605 MB / 0.7907 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000829/0.4971, allocations: 492.5 kB / 0.7911 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001382/0.4984, allocations: 0.6934 MB / 0.7918 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.857e-06/0.4985, allocations: 4 kB / 0.7918 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004456/0.5029, allocations: 1.27 MB / 0.7931 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5029, allocations: 14.17 kB / 0.7931 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.503, allocations: 4 kB / 0.7931 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.5034, allocations: 145.1 kB / 0.7932 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.504, allocations: 155.7 kB / 0.7934 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008535/0.5049, allocations: 0.6967 MB / 0.794 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.5057, allocations: 99.59 kB / 0.7941 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.5058, allocations: 28 kB / 0.7942 GB, free: 11.12 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.0001914/0.506, allocations: 232.1 kB / 0.7944 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/0.5062, allocations: 147.1 kB / 0.7945 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.5107, allocations: 1.26 MB / 0.7957 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5107, allocations: 8 kB / 0.7958 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5108, allocations: 0 / 0.7958 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004124/0.5149, allocations: 1.107 MB / 0.7968 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006114/0.521, allocations: 2.626 MB / 0.7994 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.521, allocations: 7.938 kB / 0.7994 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5215, allocations: 107.9 kB / 0.7995 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004356/0.5219, allocations: 128.8 kB / 0.7996 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.522, allocations: 19.98 kB / 0.7997 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004968/0.527, allocations: 2.579 MB / 0.8022 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.527, allocations: 4 kB / 0.8022 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/0.5321, allocations: 1.704 MB / 0.8038 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.5325, allocations: 315.9 kB / 0.8041 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.5327, allocations: 19.94 kB / 0.8042 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/0.5334, allocations: 56 kB / 0.8042 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.5335, allocations: 56.58 kB / 0.8043 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.5336, allocations: 31.92 kB / 0.8043 GB, free: 324 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001138/0.5347, allocations: 0.8933 MB / 0.8052 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5347, allocations: 3.938 kB / 0.8052 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0016/0.5363, allocations: 0.7251 MB / 0.8059 GB, free: 14.69 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.006221/0.5426, allocations: 2.586 MB / 0.8084 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002427/0.545, allocations: 1.125 MB / 0.8095 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.545, allocations: 4.188 kB / 0.8095 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.5465, allocations: 0.5563 MB / 0.8101 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.5496, allocations: 0.8022 MB / 0.8108 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/0.5691, allocations: 9.821 MB / 0.8204 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/0.57, allocations: 1.176 MB / 0.8216 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009939/0.571, allocations: 307 kB / 0.8219 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007116/0.5717, allocations: 0.5109 MB / 0.8224 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.5717, allocations: 0 / 0.8224 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.588/1.16, allocations: 42.4 MB / 0.8638 GB, free: 3.473 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/15.01, allocations: 7.906 kB / 0.8638 GB, free: 3.469 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)