Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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: translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 195.4 kB / 16.53 MB, free: 6.391 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.271/1.271, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.691/0.691, allocations: 132.2 MB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 64.62 kB / 0.5018 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1506, allocations: 80.2 MB / 0.5801 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3239/0.4746, allocations: 61.14 MB / 0.6398 GB, free: 21.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01369/0.4883, allocations: 11.98 MB / 0.6515 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002089/0.4904, allocations: 59 kB / 0.6515 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001456/0.4919, allocations: 0.6831 MB / 0.6522 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00414/0.4961, allocations: 1.953 MB / 0.6541 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.4994, allocations: 1.199 MB / 0.6553 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004157/0.5036, allocations: 3.086 MB / 0.6583 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.5049, allocations: 1.088 MB / 0.6594 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.508, allocations: 1.328 MB / 0.6607 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001765/0.5097, allocations: 0.8928 MB / 0.6615 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.5101, allocations: 114 kB / 0.6616 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.5139, allocations: 1.442 MB / 0.6631 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.5142, allocations: 295.7 kB / 0.6633 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008622/0.515, allocations: 0.6935 MB / 0.664 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.5193, allocations: 2.282 MB / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5194, allocations: 0 / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5194, allocations: 0 / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.692e-05/0.5194, allocations: 5.125 kB / 0.6662 GB, free: 5.73 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003075/0.5225, allocations: 1.722 MB / 0.6679 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.5225, allocations: 10.55 kB / 0.6679 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.5247, allocations: 406.4 kB / 0.6683 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.5267, allocations: 1.112 MB / 0.6694 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.527, allocations: 122.3 kB / 0.6695 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5272, allocations: 80.16 kB / 0.6696 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.5291, allocations: 1.006 MB / 0.6706 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5291, allocations: 0.9375 kB / 0.6706 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/0.5292, allocations: 31.81 kB / 0.6706 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5292, allocations: 21.08 kB / 0.6706 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.5314, allocations: 0.8611 MB / 0.6715 GB, free: 2.895 MB / 0.4981 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.00613/0.5375, allocations: 5.246 MB / 0.6766 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/0.541, allocations: 0.7963 MB / 0.6774 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.5417, allocations: 304.1 kB / 0.6777 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/0.5424, allocations: 0.9041 MB / 0.6785 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5424, allocations: 45.66 kB / 0.6786 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.395e-06/0.5424, allocations: 0 / 0.6786 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007224/0.5496, allocations: 1.757 MB / 0.6803 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.5497, allocations: 56.8 kB / 0.6804 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.5513, allocations: 1.076 MB / 0.6814 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.5514, allocations: 37.52 kB / 0.6814 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.5519, allocations: 0.5345 MB / 0.682 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.552, allocations: 150.6 kB / 0.6821 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/0.5523, allocations: 135.5 kB / 0.6822 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5524, allocations: 334.4 kB / 0.6826 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008854/0.5533, allocations: 313.3 kB / 0.6829 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.5544, allocations: 0.5288 MB / 0.6834 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/0.5561, allocations: 0.7321 MB / 0.6841 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5561, allocations: 1.656 kB / 0.6841 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002774/0.5589, allocations: 1.011 MB / 0.6851 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.5589, allocations: 8.812 kB / 0.6851 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5589, allocations: 4.688 kB / 0.6851 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.5603, allocations: 328.7 kB / 0.6854 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.5609, allocations: 128.4 kB / 0.6855 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.5625, allocations: 0.916 MB / 0.6864 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.5639, allocations: 154.5 kB / 0.6866 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.564, allocations: 30.64 kB / 0.6866 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001314/0.5654, allocations: 0.513 MB / 0.6871 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001086/0.5664, allocations: 0.5318 MB / 0.6876 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001762/0.5682, allocations: 0.7161 MB / 0.6883 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/0.5682, allocations: 1.594 kB / 0.6883 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002952/0.5712, allocations: 1.018 MB / 0.6893 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5712, allocations: 7.969 kB / 0.6893 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5712, allocations: 5.125 kB / 0.6893 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.5725, allocations: 310 kB / 0.6896 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006022/0.5731, allocations: 133.4 kB / 0.6898 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.5747, allocations: 0.9087 MB / 0.6906 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.5763, allocations: 140.4 kB / 0.6908 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.5765, allocations: 30.19 kB / 0.6908 GB, free: 7.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003756/0.5768, allocations: 223.8 kB / 0.691 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/0.5772, allocations: 116.4 kB / 0.6911 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.5804, allocations: 0.9264 MB / 0.692 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.5804, allocations: 11.86 kB / 0.692 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5804, allocations: 4 kB / 0.692 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5805, allocations: 3.188 kB / 0.692 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/0.5864, allocations: 2.145 MB / 0.6941 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.5865, allocations: 6.812 kB / 0.6942 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.5867, allocations: 63.77 kB / 0.6942 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001176/0.5879, allocations: 316.6 kB / 0.6945 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.588, allocations: 11.77 kB / 0.6945 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/0.5896, allocations: 0.9412 MB / 0.6954 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.5897, allocations: 5.531 kB / 0.6954 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.5935, allocations: 1.163 MB / 0.6966 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006111/0.5941, allocations: 265.3 kB / 0.6968 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.5945, allocations: 10.8 kB / 0.6968 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.5955, allocations: 73.83 kB / 0.6969 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.5956, allocations: 35.11 kB / 0.697 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.5956, allocations: 27.44 kB / 0.697 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001381/0.597, allocations: 0.7557 MB / 0.6977 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.597, allocations: 1.469 kB / 0.6977 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002081/0.5991, allocations: 0.5607 MB / 0.6983 GB, free: 3.598 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009952/0.6001, allocations: 382.3 kB / 0.6986 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003442/0.6036, allocations: 1.152 MB / 0.6998 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6036, allocations: 1.188 kB / 0.6998 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009044/0.6045, allocations: 354.6 kB / 0.7001 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.607, allocations: 0.5067 MB / 0.7006 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.6122, allocations: 2.069 MB / 0.7026 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.6129, allocations: 1.06 MB / 0.7036 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009851/0.6139, allocations: 225.5 kB / 0.7039 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.6141, allocations: 73.89 kB / 0.7039 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.6141, allocations: 3.938 kB / 0.7039 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of Templates: time 0.04097/0.655, allocations: 24.86 MB / 0.7282 GB, free: 10.3 MB / 0.545 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)