Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_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.001046/0.001046, allocations: 101.1 kB / 16.27 MB, free: 5.852 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.001125/0.001125, allocations: 187.4 kB / 17.19 MB, free: 5.504 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.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7171/0.7171, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 77.91 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.05774/0.3548, allocations: 75.13 MB / 0.6406 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.3707, allocations: 12.76 MB / 0.6531 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.3727, allocations: 67.62 kB / 0.6532 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.3746, allocations: 0.8267 MB / 0.654 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005352/0.38, allocations: 2.464 MB / 0.6564 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.383, allocations: 1.376 MB / 0.6577 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004481/0.3875, allocations: 4.388 MB / 0.662 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.3894, allocations: 1.439 MB / 0.6634 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003323/0.3928, allocations: 1.624 MB / 0.665 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.3948, allocations: 1.19 MB / 0.6662 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004266/0.3953, allocations: 160 kB / 0.6663 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.3984, allocations: 1.404 MB / 0.6677 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007107/0.3991, allocations: 398.6 kB / 0.6681 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.4009, allocations: 0.906 MB / 0.6689 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004702/0.4057, allocations: 2.824 MB / 0.6717 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4057, allocations: 0 / 0.6717 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4057, allocations: 0 / 0.6717 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.129e-05/0.4057, allocations: 0 / 0.6717 GB, free: 15.6 MB / 0.5137 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.004147/0.4099, allocations: 2.091 MB / 0.6737 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4099, allocations: 12.61 kB / 0.6738 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.4102, allocations: 144.1 kB / 0.6739 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008519/0.411, allocations: 226.9 kB / 0.6741 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002295/0.4133, allocations: 1.45 MB / 0.6755 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.4134, allocations: 78 kB / 0.6756 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.4136, allocations: 104 kB / 0.6757 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.4155, allocations: 1.096 MB / 0.6768 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.4155, allocations: 0 / 0.6768 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.4156, allocations: 36 kB / 0.6768 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.4157, allocations: 39.98 kB / 0.6768 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.4175, allocations: 0.8783 MB / 0.6777 GB, free: 9.293 MB / 0.5137 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.005533/0.4231, allocations: 4.948 MB / 0.6825 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.4244, allocations: 0.6275 MB / 0.6831 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006837/0.4251, allocations: 354.3 kB / 0.6835 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006085/0.4258, allocations: 0.8238 MB / 0.6843 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.4258, allocations: 43.12 kB / 0.6843 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.174e-06/0.4258, allocations: 0 / 0.6843 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007117/0.4329, allocations: 1.674 MB / 0.686 GB, free: 320 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.433, allocations: 59.97 kB / 0.686 GB, free: 244 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.4345, allocations: 1.225 MB / 0.6872 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.391e-05/0.4346, allocations: 37.7 kB / 0.6873 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.4351, allocations: 0.6104 MB / 0.6878 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/0.4353, allocations: 212.8 kB / 0.6881 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.4355, allocations: 162.6 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4356, allocations: 333.9 kB / 0.6885 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.4363, allocations: 292.7 kB / 0.6888 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.4371, allocations: 491.9 kB / 0.6893 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.4385, allocations: 0.7129 MB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4385, allocations: 3.938 kB / 0.69 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004693/0.4432, allocations: 1.269 MB / 0.6912 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4433, allocations: 8.062 kB / 0.6912 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4433, allocations: 4 kB / 0.6912 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000585/0.4439, allocations: 136.7 kB / 0.6914 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.4445, allocations: 155.8 kB / 0.6915 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000768/0.4453, allocations: 0.6967 MB / 0.6922 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.4462, allocations: 128.8 kB / 0.6923 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.4463, allocations: 35.97 kB / 0.6923 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000979/0.4473, allocations: 0.5488 MB / 0.6929 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007832/0.4481, allocations: 492.5 kB / 0.6933 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001345/0.4494, allocations: 0.705 MB / 0.694 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.4494, allocations: 0 / 0.694 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004676/0.4541, allocations: 1.265 MB / 0.6953 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.4542, allocations: 4 kB / 0.6953 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.4542, allocations: 4.375 kB / 0.6953 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.4547, allocations: 140.7 kB / 0.6954 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.4552, allocations: 163.8 kB / 0.6956 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007446/0.456, allocations: 0.6928 MB / 0.6962 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/0.457, allocations: 99.5 kB / 0.6963 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.4571, allocations: 36 kB / 0.6964 GB, free: 5.25 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 (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.0002203/0.4573, allocations: 228 kB / 0.6966 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.4576, allocations: 134.3 kB / 0.6967 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.4623, allocations: 1.26 MB / 0.6979 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.4623, allocations: 12 kB / 0.698 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4623, allocations: 0 / 0.698 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004171/0.4665, allocations: 1.103 MB / 0.699 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007025/0.4735, allocations: 2.61 MB / 0.7016 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4736, allocations: 4 kB / 0.7016 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004747/0.4741, allocations: 116.2 kB / 0.7017 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/0.4746, allocations: 128.8 kB / 0.7018 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.4746, allocations: 23.92 kB / 0.7018 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.4796, allocations: 2.591 MB / 0.7044 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.4796, allocations: 15.94 kB / 0.7044 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/0.4849, allocations: 1.691 MB / 0.706 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.4855, allocations: 307.2 kB / 0.7063 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.4858, allocations: 12 kB / 0.7063 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008472/0.4866, allocations: 55.92 kB / 0.7064 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4868, allocations: 64.31 kB / 0.7065 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.376e-05/0.4868, allocations: 27.98 kB / 0.7065 GB, free: 10.47 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001216/0.4881, allocations: 0.8816 MB / 0.7074 GB, free: 9.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.513e-06/0.4881, allocations: 0 / 0.7074 GB, free: 9.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00185/0.4899, allocations: 0.7251 MB / 0.7081 GB, free: 8.859 MB / 0.545 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.006229/0.4962, allocations: 2.593 MB / 0.7106 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.499, allocations: 1.156 MB / 0.7117 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.499, allocations: 3.938 kB / 0.7117 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.5005, allocations: 0.5604 MB / 0.7123 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.5041, allocations: 0.7956 MB / 0.713 GB, free: 3.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02645/0.5305, allocations: 10.46 MB / 0.7233 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.5317, allocations: 1.168 MB / 0.7244 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002031/0.5337, allocations: 303 kB / 0.7247 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000997/0.5347, allocations: 0.5149 MB / 0.7252 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.5348, allocations: 0 / 0.7252 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.31/0.8447, allocations: 42.15 MB / 0.7664 GB, free: 155.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/12.07, allocations: 7.938 kB / 0.7664 GB, free: 155.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)