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.0009392/0.0009392, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001173/0.001174, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 15.38 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.189, allocations: 82.31 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.3945/0.5836, allocations: 56.48 MB / 0.6425 GB, free: 20.24 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01436/0.598, allocations: 11.2 MB / 0.6535 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.6007, allocations: 62.03 kB / 0.6535 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.6026, allocations: 460.3 kB / 0.654 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00601/0.6086, allocations: 1.528 MB / 0.6555 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003074/0.6117, allocations: 0.864 MB / 0.6563 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005176/0.6169, allocations: 3.389 MB / 0.6596 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.6186, allocations: 0.8147 MB / 0.6604 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.6214, allocations: 1.043 MB / 0.6614 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.6232, allocations: 0.8148 MB / 0.6622 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.6234, allocations: 43.22 kB / 0.6623 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.6263, allocations: 1.101 MB / 0.6633 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.6265, allocations: 207.8 kB / 0.6635 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006046/0.6272, allocations: 285.8 kB / 0.6638 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.6302, allocations: 1.646 MB / 0.6654 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.6302, allocations: 1.094 kB / 0.6654 GB, free: 7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.993e-06/0.6302, allocations: 0 / 0.6654 GB, free: 7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.621e-05/0.6303, allocations: 0 / 0.6654 GB, free: 7 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.003115/0.6334, allocations: 1.513 MB / 0.6669 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6335, allocations: 13.08 kB / 0.6669 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.636, allocations: 0.5123 MB / 0.6674 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.6384, allocations: 1.097 MB / 0.6685 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/0.6388, allocations: 132.2 kB / 0.6686 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.6389, allocations: 78.81 kB / 0.6687 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/0.6413, allocations: 1.027 MB / 0.6697 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.6414, allocations: 1.031 kB / 0.6697 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.91e-05/0.6414, allocations: 31.75 kB / 0.6697 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.6415, allocations: 18.03 kB / 0.6697 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.6442, allocations: 0.9986 MB / 0.6707 GB, free: 4.363 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.006349/0.6505, allocations: 4.692 MB / 0.6753 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003969/0.6545, allocations: 1.129 MB / 0.6764 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.6557, allocations: 447.9 kB / 0.6768 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/0.6567, allocations: 1.03 MB / 0.6778 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.6567, allocations: 39.11 kB / 0.6779 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.6568, allocations: 0 / 0.6779 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=53): time 0.008201/0.665, allocations: 2.142 MB / 0.6799 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.665, allocations: 57.34 kB / 0.68 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.6666, allocations: 0.9421 MB / 0.6809 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.6667, allocations: 37.55 kB / 0.681 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.6672, allocations: 0.5075 MB / 0.6815 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.6675, allocations: 187.1 kB / 0.6816 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.6675, allocations: 14.5 kB / 0.6816 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6677, allocations: 326.3 kB / 0.682 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.6687, allocations: 377.3 kB / 0.6823 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.6698, allocations: 0.5363 MB / 0.6828 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.6709, allocations: 399.4 kB / 0.6832 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.6709, allocations: 5.625 kB / 0.6832 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003804/0.6747, allocations: 1.282 MB / 0.6845 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.6749, allocations: 162.7 kB / 0.6846 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6749, allocations: 2.984 kB / 0.6846 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.6761, allocations: 329 kB / 0.685 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006336/0.6768, allocations: 146.5 kB / 0.6851 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.6783, allocations: 0.9375 MB / 0.686 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.6795, allocations: 180.6 kB / 0.6862 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.559e-05/0.6796, allocations: 28.03 kB / 0.6862 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.6797, allocations: 3.562 kB / 0.6862 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/0.683, allocations: 1.146 MB / 0.6873 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.6831, allocations: 6.266 kB / 0.6873 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.6841, allocations: 322.2 kB / 0.6876 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.6848, allocations: 146.5 kB / 0.6878 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.6862, allocations: 0.9273 MB / 0.6887 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.6875, allocations: 164.5 kB / 0.6888 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.6876, allocations: 29.64 kB / 0.6889 GB, free: 10.25 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006926/0.6883, allocations: 359.9 kB / 0.6892 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002065/0.6885, allocations: 110 kB / 0.6893 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.6916, allocations: 1.221 MB / 0.6905 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6916, allocations: 5.344 kB / 0.6905 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6916, allocations: 1.094 kB / 0.6905 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6916, allocations: 2.859 kB / 0.6905 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.6966, allocations: 2.318 MB / 0.6928 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.6966, allocations: 2.719 kB / 0.6928 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.6971, allocations: 113.6 kB / 0.6929 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.6982, allocations: 327.6 kB / 0.6932 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/0.6983, allocations: 17.89 kB / 0.6932 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.6997, allocations: 0.9681 MB / 0.6942 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6997, allocations: 6.156 kB / 0.6942 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003569/0.7033, allocations: 1.404 MB / 0.6955 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.704, allocations: 289.3 kB / 0.6958 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.7041, allocations: 13.12 kB / 0.6958 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008904/0.705, allocations: 131.2 kB / 0.696 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.7051, allocations: 42.56 kB / 0.696 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.381e-05/0.7052, allocations: 24.81 kB / 0.696 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009804/0.7062, allocations: 0.6535 MB / 0.6967 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7062, allocations: 1.469 kB / 0.6967 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001728/0.7079, allocations: 0.5677 MB / 0.6972 GB, free: 6.367 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008599/0.7088, allocations: 361.7 kB / 0.6976 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00377/0.7126, allocations: 1.4 MB / 0.6989 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7126, allocations: 0 / 0.6989 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.7138, allocations: 488.8 kB / 0.6994 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/0.7163, allocations: 0.5015 MB / 0.6999 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.7206, allocations: 2.331 MB / 0.7022 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.7213, allocations: 1.064 MB / 0.7032 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001214/0.7226, allocations: 236 kB / 0.7034 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/0.7228, allocations: 77.83 kB / 0.7035 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.7228, allocations: 0 / 0.7035 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of Templates: time 0.03992/0.7627, allocations: 22.97 MB / 0.7259 GB, free: 14.05 MB / 0.545 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)