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.0008716/0.0008717, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001074/0.001074, allocations: 168.7 kB / 15.95 MB, free: 204 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.377/1.377, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9503/0.9503, allocations: 135.3 MB / 426.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8.531 kB / 0.5071 GB, free: 5.055 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1867, allocations: 82.32 MB / 0.5875 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.4279/0.6147, allocations: 69.36 MB / 0.6552 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.6312, allocations: 11.93 MB / 0.6669 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0032/0.6344, allocations: 56.88 kB / 0.6669 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.6369, allocations: 0.5636 MB / 0.6675 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00842/0.6454, allocations: 1.892 MB / 0.6693 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.6496, allocations: 0.9688 MB / 0.6703 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009819/0.6594, allocations: 4.783 MB / 0.6749 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.6627, allocations: 1.017 MB / 0.6759 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004476/0.6672, allocations: 1.267 MB / 0.6772 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.6705, allocations: 1.069 MB / 0.6782 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006631/0.6712, allocations: 54.66 kB / 0.6782 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.6756, allocations: 0.9217 MB / 0.6791 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009386/0.6766, allocations: 271.7 kB / 0.6794 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.678, allocations: 355.5 kB / 0.6797 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.6833, allocations: 2.08 MB / 0.6818 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6833, allocations: 0 / 0.6818 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.406e-06/0.6833, allocations: 1.156 kB / 0.6818 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001252/0.6834, allocations: 0 / 0.6818 GB, free: 12.02 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.006561/0.69, allocations: 1.796 MB / 0.6835 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.6901, allocations: 9.125 kB / 0.6835 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000706/0.6908, allocations: 151.1 kB / 0.6837 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.6924, allocations: 233 kB / 0.6839 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.6968, allocations: 1.444 MB / 0.6853 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.6969, allocations: 76.16 kB / 0.6854 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003708/0.6973, allocations: 105.3 kB / 0.6855 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.7005, allocations: 1.12 MB / 0.6866 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.7006, allocations: 0.75 kB / 0.6866 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.7007, allocations: 41.41 kB / 0.6866 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/0.7008, allocations: 26 kB / 0.6867 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.7032, allocations: 0.9163 MB / 0.6875 GB, free: 8.883 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.01153/0.7148, allocations: 4.914 MB / 0.6923 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/0.7168, allocations: 0.6398 MB / 0.693 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.7178, allocations: 368.2 kB / 0.6933 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009545/0.7188, allocations: 0.8256 MB / 0.6941 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.7189, allocations: 43.16 kB / 0.6942 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.879e-06/0.7189, allocations: 4 kB / 0.6942 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007525/0.7264, allocations: 1.872 MB / 0.696 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.7265, allocations: 62.94 kB / 0.6961 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/0.7292, allocations: 1.204 MB / 0.6972 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.7293, allocations: 38.92 kB / 0.6973 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006774/0.73, allocations: 0.6022 MB / 0.6979 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.7303, allocations: 218.5 kB / 0.6981 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.7304, allocations: 14.56 kB / 0.6981 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.7305, allocations: 335.1 kB / 0.6984 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006995/0.7313, allocations: 293.7 kB / 0.6987 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/0.7322, allocations: 0.503 MB / 0.6992 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007793/0.733, allocations: 354.2 kB / 0.6995 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.733, allocations: 2.406 kB / 0.6995 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004671/0.7377, allocations: 1.399 MB / 0.7009 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.7378, allocations: 200.6 kB / 0.7011 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.7378, allocations: 3.688 kB / 0.7011 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/0.7384, allocations: 141 kB / 0.7012 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006621/0.7391, allocations: 170.3 kB / 0.7014 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009045/0.74, allocations: 0.7106 MB / 0.7021 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.7416, allocations: 162.8 kB / 0.7022 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.7418, allocations: 35.98 kB / 0.7023 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.7418, allocations: 3.344 kB / 0.7023 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004307/0.7461, allocations: 1.25 MB / 0.7035 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.7461, allocations: 3.938 kB / 0.7035 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005247/0.7467, allocations: 144.2 kB / 0.7036 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.7473, allocations: 165.5 kB / 0.7038 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/0.7481, allocations: 0.7085 MB / 0.7045 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.7497, allocations: 158.8 kB / 0.7046 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.7498, allocations: 35.61 kB / 0.7047 GB, free: 14.59 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.0009671/0.7508, allocations: 418.3 kB / 0.7051 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.7514, allocations: 130.9 kB / 0.7052 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.7563, allocations: 1.398 MB / 0.7065 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.7563, allocations: 6.438 kB / 0.7066 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.7563, allocations: 1.344 kB / 0.7066 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003861/0.7602, allocations: 1.231 MB / 0.7078 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007684/0.7679, allocations: 2.738 MB / 0.7104 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.7679, allocations: 8.031 kB / 0.7104 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.7685, allocations: 117.6 kB / 0.7105 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/0.769, allocations: 140.4 kB / 0.7107 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.7691, allocations: 20.25 kB / 0.7107 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/0.7738, allocations: 2.441 MB / 0.7131 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7738, allocations: 2.156 kB / 0.7131 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005329/0.7791, allocations: 1.852 MB / 0.7149 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001509/0.7807, allocations: 336.1 kB / 0.7152 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007143/0.7814, allocations: 13 kB / 0.7152 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.7828, allocations: 94.56 kB / 0.7153 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.783, allocations: 65.41 kB / 0.7154 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.7831, allocations: 28.95 kB / 0.7154 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002052/0.7852, allocations: 0.8579 MB / 0.7162 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7852, allocations: 1.844 kB / 0.7162 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00383/0.789, allocations: 0.7063 MB / 0.7169 GB, free: 6.844 MB / 0.5294 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.006946/0.796, allocations: 2.699 MB / 0.7196 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002894/0.7989, allocations: 1.166 MB / 0.7207 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.7989, allocations: 0 / 0.7207 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/0.8005, allocations: 0.5998 MB / 0.7213 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/0.8052, allocations: 0.7542 MB / 0.722 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02358/0.8288, allocations: 8.344 MB / 0.7302 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.8301, allocations: 1.176 MB / 0.7313 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001727/0.8318, allocations: 299 kB / 0.7316 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.8329, allocations: 0.5032 MB / 0.7321 GB, free: 6.867 MB / 0.545 GB Notification: Performance of SimCode: time 8.32e-07/0.8329, allocations: 0 / 0.7321 GB, free: 6.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07998/0.9129, allocations: 41.94 MB / 0.7731 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/0.9132, allocations: 241.9 kB / 0.7733 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.956/3.869, allocations: 0 / 0.7733 GB, free: 13.2 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/linux/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) Environment - environmentSimulation: