Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001162, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001402/0.001402, allocations: 194.1 kB / 16.14 MB, free: 6.703 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7659/0.7659, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.78 kB / 0.5011 GB, free: 4.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4679/0.4691, allocations: 80.2 MB / 0.5794 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05926/0.5284, allocations: 60.83 MB / 0.6388 GB, free: 4.793 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.5451, allocations: 12.05 MB / 0.6506 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.5476, allocations: 51.69 kB / 0.6506 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.5498, allocations: 0.5516 MB / 0.6512 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005832/0.5557, allocations: 1.8 MB / 0.6529 GB, free: 6.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.5588, allocations: 1.077 MB / 0.654 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006009/0.5648, allocations: 3.91 MB / 0.6578 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.5664, allocations: 0.9475 MB / 0.6587 GB, free: 344 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.5694, allocations: 1.151 MB / 0.6599 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.5709, allocations: 0.9138 MB / 0.6607 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001536/0.5711, allocations: 56 kB / 0.6608 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.5743, allocations: 1.357 MB / 0.6621 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.5746, allocations: 234.9 kB / 0.6623 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.5754, allocations: 0.6411 MB / 0.663 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.579, allocations: 2.267 MB / 0.6652 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.579, allocations: 0 / 0.6652 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.579, allocations: 0 / 0.6652 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.862e-05/0.5791, allocations: 0 / 0.6652 GB, free: 9.699 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003413/0.5825, allocations: 1.742 MB / 0.6669 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5825, allocations: 12.03 kB / 0.6669 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/0.5852, allocations: 454.8 kB / 0.6673 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/0.5874, allocations: 1.14 MB / 0.6684 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003873/0.5878, allocations: 113.9 kB / 0.6686 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.5879, allocations: 84 kB / 0.6686 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/0.5902, allocations: 1.002 MB / 0.6696 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.5902, allocations: 0 / 0.6696 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.5903, allocations: 36 kB / 0.6696 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.5903, allocations: 20 kB / 0.6697 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.593, allocations: 0.9484 MB / 0.6706 GB, free: 4.008 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.006615/0.5996, allocations: 4.664 MB / 0.6751 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.6039, allocations: 1.004 MB / 0.6761 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.6049, allocations: 409.9 kB / 0.6765 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/0.6061, allocations: 1.013 MB / 0.6775 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.6062, allocations: 42.98 kB / 0.6776 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.6062, allocations: 0 / 0.6776 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.007922/0.6141, allocations: 1.951 MB / 0.6795 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.6142, allocations: 59.84 kB / 0.6795 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.6155, allocations: 0.9435 MB / 0.6804 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.494e-05/0.6156, allocations: 37.7 kB / 0.6805 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/0.6161, allocations: 0.5002 MB / 0.681 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.6163, allocations: 185.3 kB / 0.6811 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/0.6166, allocations: 130 kB / 0.6813 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6167, allocations: 330 kB / 0.6816 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6178, allocations: 358.9 kB / 0.6819 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.619, allocations: 0.5069 MB / 0.6824 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.6211, allocations: 0.7619 MB / 0.6832 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.6212, allocations: 0 / 0.6832 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003254/0.6244, allocations: 1.072 MB / 0.6842 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.6245, allocations: 6.812 kB / 0.6842 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.6245, allocations: 8 kB / 0.6842 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.6259, allocations: 320.5 kB / 0.6845 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/0.6266, allocations: 123.8 kB / 0.6846 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/0.6282, allocations: 0.9074 MB / 0.6855 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.6298, allocations: 159.3 kB / 0.6857 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.6299, allocations: 35.92 kB / 0.6857 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001622/0.6315, allocations: 0.561 MB / 0.6863 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001203/0.6328, allocations: 0.5069 MB / 0.6868 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002118/0.6349, allocations: 0.754 MB / 0.6875 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.77e-06/0.6349, allocations: 7.984 kB / 0.6875 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003212/0.6381, allocations: 1.053 MB / 0.6885 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.6382, allocations: 4 kB / 0.6885 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.6382, allocations: 4 kB / 0.6885 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.6394, allocations: 315.6 kB / 0.6888 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.6401, allocations: 131.8 kB / 0.689 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.6416, allocations: 0.9036 MB / 0.6898 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.6429, allocations: 147.5 kB / 0.69 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.593e-05/0.643, allocations: 31.97 kB / 0.69 GB, free: 15.18 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0002653/0.6433, allocations: 212.1 kB / 0.6902 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.6437, allocations: 110.6 kB / 0.6903 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/0.647, allocations: 1.15 MB / 0.6914 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.647, allocations: 15.98 kB / 0.6915 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.647, allocations: 0 / 0.6915 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6471, allocations: 0 / 0.6915 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00497/0.652, allocations: 2.26 MB / 0.6937 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6521, allocations: 0 / 0.6937 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000604/0.6527, allocations: 112 kB / 0.6938 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001091/0.6538, allocations: 292.6 kB / 0.6941 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.676e-05/0.6538, allocations: 19.98 kB / 0.6941 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.6554, allocations: 0.9425 MB / 0.695 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.6554, allocations: 7.875 kB / 0.695 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.6593, allocations: 1.312 MB / 0.6963 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/0.66, allocations: 275.5 kB / 0.6965 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.6603, allocations: 15.98 kB / 0.6966 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.6614, allocations: 111.7 kB / 0.6967 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6616, allocations: 52.19 kB / 0.6967 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.6616, allocations: 23.98 kB / 0.6967 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001198/0.6628, allocations: 0.6598 MB / 0.6974 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6628, allocations: 4 kB / 0.6974 GB, free: 7.441 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001989/0.6648, allocations: 0.5692 MB / 0.6979 GB, free: 6.871 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00103/0.6659, allocations: 391.2 kB / 0.6983 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004122/0.67, allocations: 1.303 MB / 0.6996 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.67, allocations: 0 / 0.6996 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.6714, allocations: 460.8 kB / 0.7 GB, free: 4.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/0.6747, allocations: 498.9 kB / 0.7005 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/0.6796, allocations: 2.315 MB / 0.7028 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6807, allocations: 1.07 MB / 0.7038 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001266/0.682, allocations: 234.1 kB / 0.704 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.6823, allocations: 83.41 kB / 0.7041 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.112e-06/0.6823, allocations: 0 / 0.7041 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.04356/0.7258, allocations: 23.72 MB / 0.7273 GB, free: 9.109 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)