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: translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001037, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001147/0.001147, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 56.78 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1835, allocations: 80.94 MB / 0.5839 GB, free: 4.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.376/0.5596, allocations: 74.47 MB / 0.6566 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01523/0.5748, allocations: 12.63 MB / 0.6689 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.5782, allocations: 63.59 kB / 0.669 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.5809, allocations: 0.7135 MB / 0.6697 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007944/0.5889, allocations: 2.281 MB / 0.6719 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.5932, allocations: 1.295 MB / 0.6732 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00721/0.6004, allocations: 4.412 MB / 0.6775 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.6033, allocations: 1.434 MB / 0.6789 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004657/0.608, allocations: 1.622 MB / 0.6805 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002839/0.6108, allocations: 1.24 MB / 0.6817 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.6113, allocations: 161.6 kB / 0.6819 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.615, allocations: 1.414 MB / 0.6832 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004965/0.6155, allocations: 403.2 kB / 0.6836 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.6168, allocations: 0.9081 MB / 0.6845 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00561/0.6225, allocations: 2.853 MB / 0.6873 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6225, allocations: 0 / 0.6873 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6225, allocations: 0 / 0.6873 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.882e-05/0.6226, allocations: 5.344 kB / 0.6873 GB, free: 5.191 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.004945/0.6275, allocations: 2.08 MB / 0.6893 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.6276, allocations: 9.156 kB / 0.6893 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008976/0.6285, allocations: 227.7 kB / 0.6896 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003027/0.6315, allocations: 1.493 MB / 0.691 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.567e-05/0.6316, allocations: 80.53 kB / 0.6911 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/0.6318, allocations: 105.1 kB / 0.6912 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.6341, allocations: 1.1 MB / 0.6923 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.6341, allocations: 4 kB / 0.6923 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.6342, allocations: 37.75 kB / 0.6923 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.6343, allocations: 29.39 kB / 0.6923 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.6362, allocations: 0.8873 MB / 0.6932 GB, free: 1.91 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.006843/0.6431, allocations: 4.908 MB / 0.698 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.6446, allocations: 0.6169 MB / 0.6986 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.6453, allocations: 352.4 kB / 0.6989 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006902/0.646, allocations: 0.8209 MB / 0.6997 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.6461, allocations: 45.86 kB / 0.6998 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.904e-06/0.6461, allocations: 3.938 kB / 0.6998 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007579/0.6537, allocations: 1.674 MB / 0.7014 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.6538, allocations: 59.34 kB / 0.7015 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.6561, allocations: 1.216 MB / 0.7027 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.6563, allocations: 39.05 kB / 0.7027 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006089/0.6569, allocations: 0.6088 MB / 0.7033 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.6572, allocations: 213.2 kB / 0.7035 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.6574, allocations: 153.4 kB / 0.7036 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6576, allocations: 331.4 kB / 0.704 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007026/0.6583, allocations: 294.6 kB / 0.7042 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009621/0.6593, allocations: 491.4 kB / 0.7047 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.6609, allocations: 0.7159 MB / 0.7054 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.6609, allocations: 8.344 kB / 0.7054 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004755/0.6656, allocations: 1.265 MB / 0.7066 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6657, allocations: 9.438 kB / 0.7067 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6657, allocations: 3.938 kB / 0.7067 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005899/0.6663, allocations: 136.6 kB / 0.7068 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.6669, allocations: 158.8 kB / 0.7069 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008588/0.6678, allocations: 0.6954 MB / 0.7076 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.6693, allocations: 153 kB / 0.7078 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.6694, allocations: 30.22 kB / 0.7078 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001279/0.6707, allocations: 0.5569 MB / 0.7083 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000877/0.6716, allocations: 491.3 kB / 0.7088 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.6731, allocations: 0.7021 MB / 0.7095 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.496e-06/0.6731, allocations: 1.344 kB / 0.7095 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004821/0.6779, allocations: 1.266 MB / 0.7107 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6779, allocations: 7.375 kB / 0.7107 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6779, allocations: 3.219 kB / 0.7107 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005248/0.6785, allocations: 138.4 kB / 0.7109 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.6791, allocations: 165.3 kB / 0.711 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008368/0.68, allocations: 0.6901 MB / 0.7117 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.6814, allocations: 136 kB / 0.7118 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.308e-05/0.6815, allocations: 35.36 kB / 0.7119 GB, free: 6.547 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.000298/0.6818, allocations: 220.5 kB / 0.7121 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.682, allocations: 137.2 kB / 0.7122 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/0.6867, allocations: 1.268 MB / 0.7134 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.6868, allocations: 6.875 kB / 0.7135 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6868, allocations: 1.375 kB / 0.7135 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004074/0.6909, allocations: 1.103 MB / 0.7145 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007181/0.6981, allocations: 2.604 MB / 0.7171 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6981, allocations: 4.594 kB / 0.7171 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.6986, allocations: 111.6 kB / 0.7172 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.6991, allocations: 131.4 kB / 0.7173 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.6992, allocations: 25.89 kB / 0.7173 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004786/0.7039, allocations: 2.586 MB / 0.7199 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.704, allocations: 10.47 kB / 0.7199 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005414/0.7094, allocations: 1.695 MB / 0.7215 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007453/0.7102, allocations: 311.1 kB / 0.7218 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.7104, allocations: 12 kB / 0.7218 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/0.7113, allocations: 87.97 kB / 0.7219 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.7114, allocations: 60.23 kB / 0.722 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/0.7115, allocations: 31.97 kB / 0.722 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001262/0.7128, allocations: 0.8699 MB / 0.7229 GB, free: 13.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7128, allocations: 0 / 0.7229 GB, free: 13.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002271/0.7151, allocations: 0.7173 MB / 0.7236 GB, free: 13.03 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.001235/0.7163, allocations: 436.1 kB / 0.724 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003185/0.7195, allocations: 1.161 MB / 0.7251 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.7195, allocations: 4 kB / 0.7251 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.721, allocations: 0.557 MB / 0.7257 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/0.7247, allocations: 0.8037 MB / 0.7264 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004788/0.7295, allocations: 2.748 MB / 0.7291 GB, free: 7.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/0.7305, allocations: 1.18 MB / 0.7303 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001327/0.7318, allocations: 299.1 kB / 0.7306 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.7321, allocations: 107.3 kB / 0.7307 GB, free: 5.68 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.7321, allocations: 4 kB / 0.7307 GB, free: 5.676 MB / 0.545 GB Notification: Performance of Templates: time 0.05476/0.7868, allocations: 31.49 MB / 0.7614 GB, free: 6.559 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)