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.008028/0.008028, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001368/0.001368, allocations: 195.4 kB / 16.68 MB, free: 5.953 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8136/0.8136, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 58.22 kB / 0.5856 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1438, allocations: 80.93 MB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05828/0.2022, allocations: 61.18 MB / 0.7244 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.2203, allocations: 11.99 MB / 0.7361 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002305/0.2227, allocations: 59.62 kB / 0.7361 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.225, allocations: 0.6908 MB / 0.7368 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.2314, allocations: 2.068 MB / 0.7388 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.2347, allocations: 1.216 MB / 0.74 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004283/0.239, allocations: 3.087 MB / 0.743 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.2408, allocations: 1.131 MB / 0.7441 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.2437, allocations: 1.362 MB / 0.7455 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.2452, allocations: 0.9178 MB / 0.7464 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.2454, allocations: 116 kB / 0.7465 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.2481, allocations: 1.45 MB / 0.7479 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4006/0.6487, allocations: 302.7 kB / 0.7482 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.6501, allocations: 0.698 MB / 0.7489 GB, free: 23.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004311/0.6545, allocations: 2.334 MB / 0.7511 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6545, allocations: 0.9375 kB / 0.7512 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6545, allocations: 1.688 kB / 0.7512 GB, free: 23.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.6545, allocations: 4.031 kB / 0.7512 GB, free: 23.65 MB / 0.5762 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.003206/0.6577, allocations: 1.741 MB / 0.7529 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6578, allocations: 11.17 kB / 0.7529 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.6602, allocations: 459.8 kB / 0.7533 GB, free: 22.72 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.6625, allocations: 1.174 MB / 0.7545 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.628e-05/0.6625, allocations: 65.97 kB / 0.7545 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.6627, allocations: 85.56 kB / 0.7546 GB, free: 22.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.6648, allocations: 0.9956 MB / 0.7556 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.6648, allocations: 2.062 kB / 0.7556 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.6649, allocations: 32.44 kB / 0.7556 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.665, allocations: 21.97 kB / 0.7556 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.6675, allocations: 0.9343 MB / 0.7565 GB, free: 22.2 MB / 0.5762 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.006483/0.674, allocations: 4.653 MB / 0.7611 GB, free: 19.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004118/0.6781, allocations: 0.9864 MB / 0.762 GB, free: 19.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.6792, allocations: 408.6 kB / 0.7624 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007381/0.6799, allocations: 1.016 MB / 0.7634 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.68, allocations: 44.53 kB / 0.7635 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.775e-06/0.68, allocations: 4 kB / 0.7635 GB, free: 18.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.007361/0.6873, allocations: 1.899 MB / 0.7653 GB, free: 18.33 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.6874, allocations: 57.19 kB / 0.7654 GB, free: 18.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.6887, allocations: 0.9533 MB / 0.7663 GB, free: 18.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.6888, allocations: 41.58 kB / 0.7663 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.6891, allocations: 0.51 MB / 0.7668 GB, free: 17.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6893, allocations: 180 kB / 0.767 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.6896, allocations: 125.7 kB / 0.7671 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.6896, allocations: 331.8 kB / 0.7675 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009609/0.6906, allocations: 355.9 kB / 0.7678 GB, free: 17.44 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.6917, allocations: 0.5084 MB / 0.7683 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/0.6936, allocations: 0.7501 MB / 0.769 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.6936, allocations: 1.094 kB / 0.769 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002813/0.6965, allocations: 1.048 MB / 0.77 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.6965, allocations: 8.031 kB / 0.7701 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6965, allocations: 2.906 kB / 0.7701 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.6978, allocations: 309 kB / 0.7704 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000618/0.6984, allocations: 133.9 kB / 0.7705 GB, free: 17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.6997, allocations: 0.8975 MB / 0.7714 GB, free: 16.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.7008, allocations: 122.1 kB / 0.7715 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.7009, allocations: 30.08 kB / 0.7715 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001266/0.7022, allocations: 0.5464 MB / 0.772 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/0.7032, allocations: 0.5088 MB / 0.7725 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001902/0.7051, allocations: 0.7467 MB / 0.7733 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.7052, allocations: 1.031 kB / 0.7733 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002726/0.7079, allocations: 1.045 MB / 0.7743 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.7079, allocations: 5.75 kB / 0.7743 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7079, allocations: 3.094 kB / 0.7743 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009553/0.7089, allocations: 297.8 kB / 0.7746 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.7095, allocations: 131.6 kB / 0.7747 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.7106, allocations: 0.8871 MB / 0.7756 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.7117, allocations: 112.2 kB / 0.7757 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.7118, allocations: 33.34 kB / 0.7757 GB, free: 15.35 MB / 0.5762 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.0002176/0.712, allocations: 217.4 kB / 0.7759 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.7122, allocations: 107.3 kB / 0.776 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002841/0.715, allocations: 1.144 MB / 0.7771 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.7151, allocations: 6.312 kB / 0.7771 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.7151, allocations: 0 / 0.7771 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.7151, allocations: 3 kB / 0.7771 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.7192, allocations: 2.256 MB / 0.7793 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.7192, allocations: 1.188 kB / 0.7793 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.7198, allocations: 106.9 kB / 0.7794 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/0.7207, allocations: 292.2 kB / 0.7797 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.7207, allocations: 17.22 kB / 0.7797 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.7219, allocations: 0.9287 MB / 0.7807 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.7219, allocations: 2.062 kB / 0.7807 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.7251, allocations: 1.288 MB / 0.7819 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.7255, allocations: 284.2 kB / 0.7822 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.7257, allocations: 15.5 kB / 0.7822 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/0.7264, allocations: 74.45 kB / 0.7823 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.7265, allocations: 43.81 kB / 0.7823 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.7266, allocations: 22.38 kB / 0.7823 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008021/0.7274, allocations: 0.6699 MB / 0.783 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7274, allocations: 4 kB / 0.783 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001508/0.7289, allocations: 0.5782 MB / 0.7836 GB, free: 13.37 MB / 0.5762 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.0008048/0.7297, allocations: 383.5 kB / 0.7839 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003444/0.7332, allocations: 1.3 MB / 0.7852 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.7332, allocations: 0 / 0.7852 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.7343, allocations: 454.5 kB / 0.7856 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.7362, allocations: 499.4 kB / 0.7861 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.7395, allocations: 1.884 MB / 0.7879 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.7399, allocations: 1.066 MB / 0.789 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007806/0.7407, allocations: 233.2 kB / 0.7892 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.7409, allocations: 83.17 kB / 0.7893 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of SimCode: time 4.81e-07/0.7409, allocations: 3.094 kB / 0.7893 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.03872/0.7797, allocations: 24.82 MB / 0.8135 GB, free: 11.36 MB / 0.5919 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)