Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001037/0.001037, allocations: 111.5 kB / 16.37 MB, free: 5.539 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.00107/0.00107, allocations: 192 kB / 17.31 MB, free: 5.18 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7589/0.7589, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 55.91 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3345, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04889/0.3835, allocations: 61.19 MB / 0.6455 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.3993, allocations: 11.97 MB / 0.6572 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.401, allocations: 63.62 kB / 0.6573 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.4027, allocations: 0.6791 MB / 0.6579 GB, free: 500 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004578/0.4074, allocations: 1.974 MB / 0.6599 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002924/0.4104, allocations: 1.207 MB / 0.661 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003867/0.4142, allocations: 3.085 MB / 0.6641 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.4156, allocations: 1.128 MB / 0.6652 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.4182, allocations: 1.325 MB / 0.6664 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.4195, allocations: 0.9178 MB / 0.6673 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.4197, allocations: 120 kB / 0.6675 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.4225, allocations: 1.45 MB / 0.6689 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.4228, allocations: 298.8 kB / 0.6692 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006837/0.4235, allocations: 0.7036 MB / 0.6698 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.4264, allocations: 2.337 MB / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4264, allocations: 0 / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4264, allocations: 0 / 0.6721 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.4264, allocations: 0 / 0.6721 GB, free: 1.883 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.00324/0.4297, allocations: 1.742 MB / 0.6738 GB, free: 84 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.4298, allocations: 9.109 kB / 0.6738 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002513/0.4323, allocations: 458.8 kB / 0.6743 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.4344, allocations: 1.175 MB / 0.6754 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.4345, allocations: 62 kB / 0.6755 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.4346, allocations: 80 kB / 0.6756 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.4365, allocations: 1.002 MB / 0.6765 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4365, allocations: 0 / 0.6765 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.4366, allocations: 32 kB / 0.6766 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4366, allocations: 16 kB / 0.6766 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.4389, allocations: 0.9407 MB / 0.6775 GB, free: 12.23 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.005601/0.4445, allocations: 4.66 MB / 0.6821 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003727/0.4483, allocations: 0.9897 MB / 0.683 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009276/0.4492, allocations: 409.9 kB / 0.6834 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009631/0.4502, allocations: 1.017 MB / 0.6844 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4502, allocations: 43 kB / 0.6844 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 1.894e-06/0.4502, allocations: 0 / 0.6844 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.00691/0.4572, allocations: 1.908 MB / 0.6863 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4572, allocations: 59.84 kB / 0.6864 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.4584, allocations: 0.9474 MB / 0.6873 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/0.4585, allocations: 41.69 kB / 0.6873 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.4589, allocations: 0.5041 MB / 0.6878 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.4591, allocations: 181.3 kB / 0.688 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.4593, allocations: 134.1 kB / 0.6881 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4594, allocations: 329.9 kB / 0.6884 GB, free: 360 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009287/0.4603, allocations: 350.8 kB / 0.6888 GB, free: 8 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.4614, allocations: 0.5069 MB / 0.6893 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.4633, allocations: 0.7502 MB / 0.69 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.4633, allocations: 0 / 0.69 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002672/0.466, allocations: 1.064 MB / 0.691 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.466, allocations: 4 kB / 0.691 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.466, allocations: 4 kB / 0.691 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.4672, allocations: 300.8 kB / 0.6913 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.4678, allocations: 131.8 kB / 0.6915 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.4691, allocations: 0.8941 MB / 0.6923 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000903/0.47, allocations: 123.3 kB / 0.6924 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.4701, allocations: 31.98 kB / 0.6925 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001225/0.4713, allocations: 0.5556 MB / 0.693 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.4724, allocations: 0.4952 MB / 0.6935 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001785/0.4742, allocations: 0.7462 MB / 0.6942 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.544e-06/0.4742, allocations: 0 / 0.6942 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002623/0.4768, allocations: 1.041 MB / 0.6953 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.4769, allocations: 10.5 kB / 0.6953 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4769, allocations: 7.938 kB / 0.6953 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009757/0.4779, allocations: 292.8 kB / 0.6955 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.4785, allocations: 131.8 kB / 0.6957 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.4797, allocations: 0.8948 MB / 0.6965 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.4808, allocations: 107.7 kB / 0.6967 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/0.4809, allocations: 27.97 kB / 0.6967 GB, free: 7.641 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.0002558/0.4812, allocations: 222.5 kB / 0.6969 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4814, allocations: 114.5 kB / 0.697 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/0.4843, allocations: 1.142 MB / 0.6981 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.4843, allocations: 8 kB / 0.6981 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.4843, allocations: 0 / 0.6981 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4844, allocations: 3.984 kB / 0.6981 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004253/0.4886, allocations: 2.245 MB / 0.7003 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4886, allocations: 4.188 kB / 0.7003 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.4892, allocations: 115.7 kB / 0.7004 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/0.4901, allocations: 296.6 kB / 0.7007 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.4902, allocations: 15.98 kB / 0.7007 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.4916, allocations: 0.9268 MB / 0.7016 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.4916, allocations: 11.91 kB / 0.7016 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.495, allocations: 1.277 MB / 0.7029 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004697/0.4955, allocations: 283.4 kB / 0.7032 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.4956, allocations: 16 kB / 0.7032 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.4964, allocations: 71.91 kB / 0.7032 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.478e-05/0.4965, allocations: 44.27 kB / 0.7033 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.105e-05/0.4965, allocations: 23.98 kB / 0.7033 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008579/0.4974, allocations: 0.6676 MB / 0.704 GB, free: 0 / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4974, allocations: 0 / 0.704 GB, free: 0 / 0.5294 GB Notification: Performance of remove unused functions: time 0.001392/0.4988, allocations: 0.5731 MB / 0.7045 GB, free: 15.43 MB / 0.545 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.0007297/0.4996, allocations: 385 kB / 0.7049 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.503, allocations: 1.303 MB / 0.7062 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.5031, allocations: 0 / 0.7062 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5042, allocations: 456.8 kB / 0.7066 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.5062, allocations: 0.4895 MB / 0.7071 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.5097, allocations: 1.887 MB / 0.7089 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.5103, allocations: 1.066 MB / 0.71 GB, free: 9.801 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007884/0.5111, allocations: 234.5 kB / 0.7102 GB, free: 9.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.5113, allocations: 87.41 kB / 0.7103 GB, free: 9.492 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.5113, allocations: 0 / 0.7103 GB, free: 9.492 MB / 0.545 GB Notification: Performance of Templates: time 0.03607/0.5474, allocations: 24.65 MB / 0.7343 GB, free: 1.121 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)