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.0008276/0.0008277, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004913/0.004913, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.173/1.173, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8256/0.8256, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 12 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1377, allocations: 82.31 MB / 0.5881 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.2765/0.4142, allocations: 73.38 MB / 0.6597 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.4272, allocations: 12.65 MB / 0.6721 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.4291, allocations: 57.25 kB / 0.6721 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.4307, allocations: 0.6804 MB / 0.6728 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00502/0.4357, allocations: 2.264 MB / 0.675 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002688/0.4384, allocations: 1.265 MB / 0.6763 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005774/0.4442, allocations: 5.54 MB / 0.6817 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.4458, allocations: 1.151 MB / 0.6828 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.448, allocations: 1.319 MB / 0.6841 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.4494, allocations: 1.126 MB / 0.6852 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.4495, allocations: 59.47 kB / 0.6852 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.452, allocations: 1.239 MB / 0.6864 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.4522, allocations: 286.2 kB / 0.6867 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007349/0.453, allocations: 0.798 MB / 0.6875 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.456, allocations: 2.715 MB / 0.6901 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.456, allocations: 1.25 kB / 0.6901 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.456, allocations: 0 / 0.6901 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.456, allocations: 0 / 0.6901 GB, free: 6.234 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.003092/0.4591, allocations: 1.781 MB / 0.6919 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.4592, allocations: 10 kB / 0.6919 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001881/0.4594, allocations: 146.6 kB / 0.692 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007125/0.4601, allocations: 239.4 kB / 0.6923 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.4623, allocations: 1.501 MB / 0.6937 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-05/0.4623, allocations: 80.27 kB / 0.6938 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.4625, allocations: 104.7 kB / 0.6939 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.4645, allocations: 1.125 MB / 0.695 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.4645, allocations: 5.094 kB / 0.695 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.942e-05/0.4646, allocations: 41.66 kB / 0.695 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.4647, allocations: 25.55 kB / 0.6951 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.4666, allocations: 0.9304 MB / 0.696 GB, free: 3.031 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.005619/0.4722, allocations: 4.909 MB / 0.7008 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.4736, allocations: 0.6433 MB / 0.7014 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/0.4743, allocations: 366.4 kB / 0.7018 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.4749, allocations: 0.83 MB / 0.7026 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4749, allocations: 46.73 kB / 0.7026 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.305e-06/0.475, allocations: 1.562 kB / 0.7026 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007353/0.4823, allocations: 1.889 MB / 0.7045 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.4824, allocations: 58 kB / 0.7045 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.4841, allocations: 1.207 MB / 0.7057 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.944e-05/0.4842, allocations: 42.77 kB / 0.7057 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.4846, allocations: 0.6066 MB / 0.7063 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.4848, allocations: 213.4 kB / 0.7065 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.4849, allocations: 63.47 kB / 0.7066 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.485, allocations: 336.1 kB / 0.7069 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006762/0.4857, allocations: 302.5 kB / 0.7072 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.4866, allocations: 0.5056 MB / 0.7077 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.488, allocations: 0.7522 MB / 0.7084 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.488, allocations: 2.438 kB / 0.7084 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004773/0.4928, allocations: 1.409 MB / 0.7098 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.4929, allocations: 193 kB / 0.71 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4929, allocations: 3.438 kB / 0.71 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005569/0.4935, allocations: 144.2 kB / 0.7101 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000602/0.4941, allocations: 174.3 kB / 0.7103 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007815/0.4949, allocations: 0.7017 MB / 0.711 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.4961, allocations: 163.3 kB / 0.7111 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.4962, allocations: 38.73 kB / 0.7112 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.4962, allocations: 4.188 kB / 0.7112 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004439/0.5006, allocations: 1.253 MB / 0.7124 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.5006, allocations: 3.031 kB / 0.7124 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.5011, allocations: 148.4 kB / 0.7125 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005719/0.5017, allocations: 168.6 kB / 0.7127 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007211/0.5024, allocations: 0.7027 MB / 0.7134 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009843/0.5034, allocations: 165.3 kB / 0.7135 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.5035, allocations: 26 kB / 0.7136 GB, free: 7.996 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.0005608/0.5041, allocations: 418.3 kB / 0.714 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.5042, allocations: 132.4 kB / 0.7141 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/0.5089, allocations: 1.405 MB / 0.7155 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.5089, allocations: 10.61 kB / 0.7155 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5089, allocations: 0 / 0.7155 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004191/0.5131, allocations: 1.235 MB / 0.7167 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006075/0.5192, allocations: 2.736 MB / 0.7194 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5192, allocations: 7.062 kB / 0.7194 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/0.5197, allocations: 119.5 kB / 0.7195 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.5201, allocations: 143.9 kB / 0.7196 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.5202, allocations: 19.48 kB / 0.7196 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/0.5247, allocations: 2.439 MB / 0.722 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5248, allocations: 7.984 kB / 0.722 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/0.5301, allocations: 1.855 MB / 0.7238 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.5307, allocations: 331.1 kB / 0.7241 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5308, allocations: 16 kB / 0.7242 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/0.5317, allocations: 95.81 kB / 0.7243 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.5318, allocations: 60.25 kB / 0.7243 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.5319, allocations: 35.97 kB / 0.7243 GB, free: 15.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001107/0.533, allocations: 0.866 MB / 0.7252 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.533, allocations: 0 / 0.7252 GB, free: 14.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001856/0.5349, allocations: 0.7096 MB / 0.7259 GB, free: 13.83 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.006335/0.5412, allocations: 2.743 MB / 0.7286 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.5438, allocations: 1.16 MB / 0.7297 GB, free: 9.879 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5439, allocations: 7.938 kB / 0.7297 GB, free: 9.871 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.5453, allocations: 0.6037 MB / 0.7303 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/0.5493, allocations: 0.7964 MB / 0.7311 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/0.573, allocations: 11.16 MB / 0.742 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006425/0.5737, allocations: 1.173 MB / 0.7431 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001124/0.5748, allocations: 299 kB / 0.7434 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/0.5755, allocations: 0.511 MB / 0.7439 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.5755, allocations: 0 / 0.7439 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.859/3.434, allocations: 42.32 MB / 0.7852 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/3.435, allocations: 251.4 kB / 0.7855 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.289/6.723, allocations: 11.75 kB / 0.7855 GB, free: 0.707 MB / 0.5919 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)