Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001674, allocations: 104.2 kB / 16.4 MB, free: 6.465 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.001986/0.001986, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 66.11 kB / 0.582 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1637, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.06624/0.2299, allocations: 61.17 MB / 0.7201 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.2493, allocations: 11.98 MB / 0.7318 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.2521, allocations: 63.62 kB / 0.7318 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2545, allocations: 0.6713 MB / 0.7325 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00616/0.2607, allocations: 1.967 MB / 0.7344 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.2645, allocations: 1.207 MB / 0.7356 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005051/0.2696, allocations: 3.075 MB / 0.7386 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002038/0.2716, allocations: 1.1 MB / 0.7397 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/0.2752, allocations: 1.364 MB / 0.741 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.2771, allocations: 0.8984 MB / 0.7419 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004051/0.2776, allocations: 116 kB / 0.742 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.281, allocations: 1.458 MB / 0.7434 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004806/0.2815, allocations: 294.9 kB / 0.7437 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.283, allocations: 0.6997 MB / 0.7444 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.2875, allocations: 2.314 MB / 0.7466 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2875, allocations: 0 / 0.7466 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2875, allocations: 0 / 0.7466 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.855e-05/0.2876, allocations: 0 / 0.7466 GB, free: 1.59 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.3054/0.593, allocations: 1.729 MB / 0.7483 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.593, allocations: 9.656 kB / 0.7483 GB, free: 86.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.595, allocations: 347.8 kB / 0.7487 GB, free: 86.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/0.5973, allocations: 1.154 MB / 0.7498 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.5974, allocations: 62.88 kB / 0.7499 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.5975, allocations: 79.19 kB / 0.7499 GB, free: 85.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.5995, allocations: 0.9706 MB / 0.7509 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5995, allocations: 6.031 kB / 0.7509 GB, free: 85.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.427e-05/0.5996, allocations: 32.06 kB / 0.7509 GB, free: 85.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.5997, allocations: 20.44 kB / 0.7509 GB, free: 85.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.6016, allocations: 0.8006 MB / 0.7517 GB, free: 85.42 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.005846/0.6075, allocations: 5.135 MB / 0.7567 GB, free: 81.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.6091, allocations: 0.5524 MB / 0.7573 GB, free: 81.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006301/0.6097, allocations: 261.9 kB / 0.7575 GB, free: 81.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.6109, allocations: 1.375 MB / 0.7589 GB, free: 79.67 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.6109, allocations: 40.53 kB / 0.7589 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.175e-06/0.6109, allocations: 2.125 kB / 0.7589 GB, free: 79.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007221/0.6181, allocations: 1.611 MB / 0.7605 GB, free: 79.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.6182, allocations: 58.59 kB / 0.7605 GB, free: 79.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002004/0.6202, allocations: 1.075 MB / 0.7616 GB, free: 78.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-05/0.6203, allocations: 37.45 kB / 0.7616 GB, free: 78.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/0.6207, allocations: 0.531 MB / 0.7621 GB, free: 78.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.6208, allocations: 154.5 kB / 0.7623 GB, free: 78.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.6211, allocations: 134.7 kB / 0.7624 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.6212, allocations: 326.1 kB / 0.7627 GB, free: 77.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000789/0.622, allocations: 279.5 kB / 0.763 GB, free: 77.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.6229, allocations: 0.4911 MB / 0.7635 GB, free: 77.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.6242, allocations: 0.6704 MB / 0.7641 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.6243, allocations: 1.062 kB / 0.7641 GB, free: 76.92 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00267/0.6269, allocations: 0.9563 MB / 0.7651 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.627, allocations: 8.25 kB / 0.7651 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.627, allocations: 4.922 kB / 0.7651 GB, free: 76.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.6282, allocations: 299.9 kB / 0.7654 GB, free: 76.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004807/0.6287, allocations: 123.5 kB / 0.7655 GB, free: 76.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.6301, allocations: 0.8979 MB / 0.7664 GB, free: 75.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.6313, allocations: 141.3 kB / 0.7665 GB, free: 75.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.451e-05/0.6314, allocations: 36.19 kB / 0.7665 GB, free: 75.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001121/0.6326, allocations: 485.6 kB / 0.767 GB, free: 75.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008525/0.6334, allocations: 0.4949 MB / 0.7675 GB, free: 75.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00131/0.6347, allocations: 0.6477 MB / 0.7681 GB, free: 74.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.6348, allocations: 1.062 kB / 0.7681 GB, free: 74.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002639/0.6374, allocations: 0.9515 MB / 0.769 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.6374, allocations: 6.781 kB / 0.769 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.6374, allocations: 5.141 kB / 0.769 GB, free: 74.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.6385, allocations: 294.4 kB / 0.7693 GB, free: 74.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/0.639, allocations: 118.5 kB / 0.7694 GB, free: 74.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.6403, allocations: 0.9062 MB / 0.7703 GB, free: 73.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.6415, allocations: 125.2 kB / 0.7704 GB, free: 73.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.6416, allocations: 30.55 kB / 0.7705 GB, free: 73.65 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002151/0.6418, allocations: 220.3 kB / 0.7707 GB, free: 73.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.642, allocations: 117.8 kB / 0.7708 GB, free: 73.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.6449, allocations: 0.9943 MB / 0.7718 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.645, allocations: 9.625 kB / 0.7718 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.645, allocations: 0 / 0.7718 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.645, allocations: 3.797 kB / 0.7718 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/0.6494, allocations: 2.066 MB / 0.7738 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6495, allocations: 3.312 kB / 0.7738 GB, free: 71.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.6497, allocations: 59 kB / 0.7739 GB, free: 71.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009144/0.6506, allocations: 300.6 kB / 0.7741 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.6506, allocations: 9.938 kB / 0.7741 GB, free: 71.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.6519, allocations: 0.9288 MB / 0.7751 GB, free: 70.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6519, allocations: 2.344 kB / 0.7751 GB, free: 70.85 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003221/0.6551, allocations: 1.089 MB / 0.7761 GB, free: 70.19 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005019/0.6557, allocations: 267 kB / 0.7764 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.6558, allocations: 12.56 kB / 0.7764 GB, free: 69.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/0.6566, allocations: 63.12 kB / 0.7764 GB, free: 69.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.6567, allocations: 36.72 kB / 0.7765 GB, free: 69.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.6567, allocations: 21.14 kB / 0.7765 GB, free: 69.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001311/0.658, allocations: 0.7565 MB / 0.7772 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.658, allocations: 0 / 0.7772 GB, free: 69.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002606/0.6607, allocations: 0.5783 MB / 0.7778 GB, free: 69.36 MB / 0.5762 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.001187/0.6619, allocations: 421.3 kB / 0.7782 GB, free: 69.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003135/0.665, allocations: 1.016 MB / 0.7792 GB, free: 68.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.665, allocations: 4.375 kB / 0.7792 GB, free: 68.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.6658, allocations: 319.6 kB / 0.7795 GB, free: 68.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.6682, allocations: 0.5072 MB / 0.78 GB, free: 68.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.6715, allocations: 1.837 MB / 0.7818 GB, free: 67.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.6721, allocations: 1.061 MB / 0.7828 GB, free: 66.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.6723, allocations: 82.02 kB / 0.7829 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.6723, allocations: 0 / 0.7829 GB, free: 66.32 MB / 0.5762 GB Notification: Performance of Templates: time 0.02391/0.6963, allocations: 24.19 MB / 0.8065 GB, free: 44.15 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)