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.0008482/0.0008483, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008822/0.0008823, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7737/0.7737, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003893, allocations: 9.125 kB / 0.5035 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4721, allocations: 81.58 MB / 0.5831 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.0713/0.5434, allocations: 69.38 MB / 0.6509 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.5636, allocations: 11.93 MB / 0.6625 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/0.5675, allocations: 55.62 kB / 0.6626 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.5699, allocations: 0.5666 MB / 0.6632 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006974/0.5768, allocations: 1.888 MB / 0.665 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003327/0.5802, allocations: 0.968 MB / 0.6659 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006773/0.587, allocations: 4.781 MB / 0.6706 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.589, allocations: 1.033 MB / 0.6716 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.5919, allocations: 1.26 MB / 0.6729 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.5937, allocations: 1.073 MB / 0.6739 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.5939, allocations: 56 kB / 0.674 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.5963, allocations: 0.916 MB / 0.6748 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003231/0.5967, allocations: 274.7 kB / 0.6751 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.5972, allocations: 356.9 kB / 0.6754 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002411/0.5996, allocations: 2.081 MB / 0.6775 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5996, allocations: 0 / 0.6775 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5996, allocations: 0 / 0.6775 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.7e-05/0.5997, allocations: 4 kB / 0.6775 GB, free: 15.76 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.003874/0.6035, allocations: 1.791 MB / 0.6792 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6036, allocations: 16.03 kB / 0.6792 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.6038, allocations: 147.9 kB / 0.6794 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.6045, allocations: 234 kB / 0.6796 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/0.6071, allocations: 1.458 MB / 0.681 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.297e-05/0.6071, allocations: 70 kB / 0.6811 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.6073, allocations: 100 kB / 0.6812 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.6093, allocations: 1.12 MB / 0.6823 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.6093, allocations: 0 / 0.6823 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.6094, allocations: 44 kB / 0.6823 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-05/0.6095, allocations: 24 kB / 0.6824 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.6113, allocations: 0.9212 MB / 0.6833 GB, free: 9.688 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.006356/0.6177, allocations: 4.907 MB / 0.688 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.6191, allocations: 0.6322 MB / 0.6887 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.6199, allocations: 367.1 kB / 0.689 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/0.6207, allocations: 0.8277 MB / 0.6898 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.6207, allocations: 43.12 kB / 0.6899 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.6207, allocations: 0 / 0.6899 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.006654/0.6274, allocations: 1.877 MB / 0.6917 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.6275, allocations: 59.97 kB / 0.6918 GB, free: 468 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.6293, allocations: 1.194 MB / 0.6929 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-05/0.6294, allocations: 41.7 kB / 0.693 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00057/0.63, allocations: 0.6026 MB / 0.6936 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.6302, allocations: 216.9 kB / 0.6938 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.6303, allocations: 12 kB / 0.6938 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.6305, allocations: 337.9 kB / 0.6941 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.6311, allocations: 301.8 kB / 0.6944 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007993/0.6319, allocations: 0.5052 MB / 0.6949 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.6327, allocations: 351 kB / 0.6952 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.6327, allocations: 0 / 0.6952 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004358/0.637, allocations: 1.398 MB / 0.6966 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.6372, allocations: 206.2 kB / 0.6968 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.6372, allocations: 8 kB / 0.6968 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.6378, allocations: 136.7 kB / 0.6969 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.6384, allocations: 171.8 kB / 0.6971 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008938/0.6393, allocations: 0.7084 MB / 0.6978 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.6405, allocations: 163.1 kB / 0.6979 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.6405, allocations: 31.98 kB / 0.6979 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6406, allocations: 5.875 kB / 0.698 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004143/0.6447, allocations: 1.249 MB / 0.6992 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6447, allocations: 4 kB / 0.6992 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.6452, allocations: 145 kB / 0.6993 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/0.6458, allocations: 167.8 kB / 0.6995 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008185/0.6466, allocations: 0.7006 MB / 0.7002 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.6478, allocations: 163.1 kB / 0.7003 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.6479, allocations: 35.98 kB / 0.7004 GB, free: 7.434 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007478/0.6487, allocations: 412.9 kB / 0.7007 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.6489, allocations: 130.6 kB / 0.7009 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/0.6532, allocations: 1.4 MB / 0.7022 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.6533, allocations: 8 kB / 0.7022 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6533, allocations: 0 / 0.7022 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003815/0.6571, allocations: 1.232 MB / 0.7034 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006678/0.6638, allocations: 2.747 MB / 0.7061 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.6639, allocations: 4 kB / 0.7061 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.6643, allocations: 119.9 kB / 0.7062 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.6648, allocations: 140.8 kB / 0.7064 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.6649, allocations: 20 kB / 0.7064 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00453/0.6694, allocations: 2.439 MB / 0.7088 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.6695, allocations: 4 kB / 0.7088 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/0.6745, allocations: 1.848 MB / 0.7106 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008309/0.6754, allocations: 331.1 kB / 0.7109 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.6756, allocations: 16.28 kB / 0.7109 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008277/0.6764, allocations: 95.75 kB / 0.711 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.6766, allocations: 68.25 kB / 0.7111 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-05/0.6767, allocations: 27.98 kB / 0.7111 GB, free: 12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001328/0.678, allocations: 0.8582 MB / 0.7119 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.678, allocations: 0 / 0.7119 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001974/0.68, allocations: 0.7096 MB / 0.7126 GB, free: 10.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006067/0.6861, allocations: 2.699 MB / 0.7153 GB, free: 7.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.6888, allocations: 1.157 MB / 0.7164 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.6888, allocations: 0 / 0.7164 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.6903, allocations: 0.5994 MB / 0.717 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003734/0.6941, allocations: 0.7624 MB / 0.7177 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/0.7138, allocations: 8.328 MB / 0.7259 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.7149, allocations: 1.176 MB / 0.727 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001499/0.7164, allocations: 307 kB / 0.7273 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/0.7171, allocations: 0.5032 MB / 0.7278 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.523e-06/0.7171, allocations: 0 / 0.7278 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07402/0.7912, allocations: 41.94 MB / 0.7688 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.7914, allocations: 225.1 kB / 0.769 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.52, allocations: 3.984 kB / 0.769 GB, free: 0.7852 MB / 0.5919 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/linux/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) Environment - environmentSimulation: