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.008127/0.008127, allocations: 101 kB / 15.73 MB, free: 6.035 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.001795/0.001795, allocations: 193.4 kB / 16.67 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9723/0.9723, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4632, allocations: 80.91 MB / 0.6646 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07042/0.5336, allocations: 75.13 MB / 0.738 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.5524, allocations: 12.73 MB / 0.7504 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004064/0.5565, allocations: 67.56 kB / 0.7505 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003368/0.5599, allocations: 0.854 MB / 0.7513 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009334/0.5693, allocations: 2.593 MB / 0.7539 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.5736, allocations: 1.391 MB / 0.7552 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006529/0.5802, allocations: 4.393 MB / 0.7595 GB, free: 388 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002665/0.5829, allocations: 1.437 MB / 0.7609 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.5871, allocations: 1.659 MB / 0.7625 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.5895, allocations: 1.202 MB / 0.7637 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004785/0.5899, allocations: 164 kB / 0.7639 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.5934, allocations: 1.404 MB / 0.7652 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006541/0.5941, allocations: 402.6 kB / 0.7656 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.5957, allocations: 0.8982 MB / 0.7665 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004641/0.6003, allocations: 2.877 MB / 0.7693 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.6004, allocations: 4 kB / 0.7693 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6004, allocations: 0 / 0.7693 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.418e-05/0.6004, allocations: 0 / 0.7693 GB, free: 6.289 MB / 0.5919 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.003864/0.6043, allocations: 2.083 MB / 0.7713 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6043, allocations: 12.03 kB / 0.7713 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008597/0.6052, allocations: 222.8 kB / 0.7716 GB, free: 3.91 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.6079, allocations: 1.524 MB / 0.773 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.608, allocations: 78 kB / 0.7731 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.6081, allocations: 100 kB / 0.7732 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.6101, allocations: 1.1 MB / 0.7743 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.6101, allocations: 0 / 0.7743 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.6102, allocations: 40 kB / 0.7743 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.6103, allocations: 31.94 kB / 0.7744 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.6122, allocations: 0.8861 MB / 0.7752 GB, free: 64 kB / 0.5919 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.006097/0.6183, allocations: 4.903 MB / 0.78 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.6197, allocations: 0.6197 MB / 0.7806 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.6204, allocations: 345.7 kB / 0.7809 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007079/0.6211, allocations: 0.8355 MB / 0.7818 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.6212, allocations: 39.12 kB / 0.7818 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=61): time 2.655e-06/0.6212, allocations: 0 / 0.7818 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=61): time 0.007259/0.6284, allocations: 1.681 MB / 0.7834 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.6285, allocations: 59.91 kB / 0.7835 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.6303, allocations: 1.222 MB / 0.7847 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6304, allocations: 45.7 kB / 0.7847 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.6309, allocations: 0.6026 MB / 0.7853 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.6311, allocations: 216.9 kB / 0.7855 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.6314, allocations: 158.5 kB / 0.7857 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6315, allocations: 333.9 kB / 0.786 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000754/0.6323, allocations: 292.7 kB / 0.7863 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009097/0.6332, allocations: 495.8 kB / 0.7868 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.6347, allocations: 0.709 MB / 0.7874 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6347, allocations: 0 / 0.7874 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004776/0.6395, allocations: 1.265 MB / 0.7887 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6395, allocations: 10.33 kB / 0.7887 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6395, allocations: 4 kB / 0.7887 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.6402, allocations: 133.1 kB / 0.7888 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.6408, allocations: 167.8 kB / 0.789 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008757/0.6417, allocations: 0.6927 MB / 0.7897 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.6428, allocations: 123.1 kB / 0.7898 GB, free: 444 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.6429, allocations: 31.98 kB / 0.7898 GB, free: 412 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001184/0.6441, allocations: 0.5565 MB / 0.7904 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008237/0.6449, allocations: 487.8 kB / 0.7908 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001363/0.6463, allocations: 0.705 MB / 0.7915 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.6463, allocations: 0 / 0.7915 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004762/0.6511, allocations: 1.269 MB / 0.7927 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.6511, allocations: 8 kB / 0.7928 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.6511, allocations: 4 kB / 0.7928 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005162/0.6516, allocations: 144.9 kB / 0.7929 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.6523, allocations: 151.8 kB / 0.793 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008401/0.6531, allocations: 0.6967 MB / 0.7937 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6544, allocations: 103.5 kB / 0.7938 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.6544, allocations: 24 kB / 0.7938 GB, free: 12.11 MB / 0.6231 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.0003087/0.6547, allocations: 236 kB / 0.7941 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.655, allocations: 138.2 kB / 0.7942 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004676/0.6597, allocations: 1.256 MB / 0.7954 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.6597, allocations: 8 kB / 0.7954 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6597, allocations: 0 / 0.7954 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004192/0.6639, allocations: 1.107 MB / 0.7965 GB, free: 9.312 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/0.6707, allocations: 2.61 MB / 0.7991 GB, free: 6.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.6707, allocations: 4 kB / 0.7991 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.6713, allocations: 124.2 kB / 0.7992 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005309/0.6718, allocations: 124.8 kB / 0.7993 GB, free: 6.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/0.6719, allocations: 19.98 kB / 0.7993 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005214/0.6771, allocations: 2.583 MB / 0.8018 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.956e-06/0.6771, allocations: 16 kB / 0.8019 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005528/0.6827, allocations: 1.691 MB / 0.8035 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007242/0.6834, allocations: 311.1 kB / 0.8038 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.6837, allocations: 23.94 kB / 0.8038 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.6845, allocations: 51.92 kB / 0.8039 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.6846, allocations: 60.36 kB / 0.8039 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.6847, allocations: 35.92 kB / 0.804 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001248/0.686, allocations: 0.8894 MB / 0.8048 GB, free: 432 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.686, allocations: 0 / 0.8048 GB, free: 432 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001847/0.6878, allocations: 0.7137 MB / 0.8055 GB, free: 15.7 MB / 0.6387 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.0009044/0.6887, allocations: 463.2 kB / 0.806 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002665/0.6914, allocations: 1.121 MB / 0.8071 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6914, allocations: 4 kB / 0.8071 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.6929, allocations: 0.5564 MB / 0.8076 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/0.6964, allocations: 0.8005 MB / 0.8084 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.7001, allocations: 2.252 MB / 0.8106 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007298/0.7008, allocations: 1.176 MB / 0.8118 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001058/0.7019, allocations: 303 kB / 0.812 GB, free: 8.938 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.7022, allocations: 107.4 kB / 0.8121 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.7022, allocations: 0 / 0.8121 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of Templates: time 0.05422/0.7564, allocations: 32.29 MB / 0.8437 GB, free: 8.879 MB / 0.67 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)