Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008935/0.008934, allocations: 102.7 kB / 15.73 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.001387/0.001387, allocations: 196 kB / 16.67 MB, free: 5.973 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8009/0.8009, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 65.91 kB / 0.5813 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1841, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1356/0.3198, allocations: 132.2 MB / 0.7888 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03562/0.3554, allocations: 23.19 MB / 0.8114 GB, free: 1.594 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007062/0.3625, allocations: 123.2 kB / 0.8115 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.4488/0.8114, allocations: 1.527 MB / 0.813 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.826, allocations: 4.312 MB / 0.8172 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00732/0.8334, allocations: 2.171 MB / 0.8194 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0145/0.8479, allocations: 6.555 MB / 0.8258 GB, free: 42.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005007/0.8529, allocations: 2.369 MB / 0.8281 GB, free: 41.71 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00871/0.8617, allocations: 2.82 MB / 0.8308 GB, free: 41.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005249/0.8669, allocations: 1.888 MB / 0.8327 GB, free: 41.37 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.868, allocations: 247.3 kB / 0.8329 GB, free: 41.37 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.874, allocations: 1.937 MB / 0.8348 GB, free: 41.37 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.8755, allocations: 0.5992 MB / 0.8354 GB, free: 41.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003968/0.8795, allocations: 1.468 MB / 0.8368 GB, free: 40.86 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008901/0.8884, allocations: 4.386 MB / 0.8411 GB, free: 40.3 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.8884, allocations: 0 / 0.8411 GB, free: 40.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8885, allocations: 0 / 0.8411 GB, free: 40.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001288/0.8886, allocations: 0 / 0.8411 GB, free: 40.3 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006562/0.8952, allocations: 3.184 MB / 0.8442 GB, free: 38.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.8952, allocations: 11.38 kB / 0.8442 GB, free: 38.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004128/0.8993, allocations: 0.8383 MB / 0.845 GB, free: 38.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/0.904, allocations: 2.321 MB / 0.8473 GB, free: 37.98 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.9042, allocations: 127.4 kB / 0.8474 GB, free: 37.98 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/0.9045, allocations: 163 kB / 0.8476 GB, free: 37.98 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/0.9084, allocations: 1.924 MB / 0.8495 GB, free: 37.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.9084, allocations: 0 / 0.8495 GB, free: 37.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.9086, allocations: 62.72 kB / 0.8495 GB, free: 37.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.9086, allocations: 38.19 kB / 0.8496 GB, free: 37.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00424/0.9129, allocations: 1.806 MB / 0.8513 GB, free: 37.71 MB / 0.6387 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.01237/0.9252, allocations: 8.995 MB / 0.8601 GB, free: 33.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003844/0.9291, allocations: 1.195 MB / 0.8613 GB, free: 33.28 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009713/0.9301, allocations: 460.2 kB / 0.8617 GB, free: 33.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007695/0.9309, allocations: 1.718 MB / 0.8634 GB, free: 31.29 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.9309, allocations: 46.38 kB / 0.8634 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.9309, allocations: 0 / 0.8634 GB, free: 31.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.007828/0.9388, allocations: 2.343 MB / 0.8657 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.9388, allocations: 85.08 kB / 0.8658 GB, free: 30.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.9425, allocations: 2.526 MB / 0.8683 GB, free: 29.94 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/0.9427, allocations: 46.67 kB / 0.8683 GB, free: 29.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/0.9434, allocations: 1.042 MB / 0.8693 GB, free: 29.55 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.9437, allocations: 272.3 kB / 0.8696 GB, free: 29.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.9441, allocations: 254.6 kB / 0.8698 GB, free: 29.3 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.9441, allocations: 342.7 kB / 0.8702 GB, free: 28.98 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.9456, allocations: 0.5734 MB / 0.8707 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.9473, allocations: 0.9543 MB / 0.8717 GB, free: 28.32 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.9498, allocations: 1.25 MB / 0.8729 GB, free: 27.69 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/0.9499, allocations: 6.5 kB / 0.8729 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005852/0.9557, allocations: 2.022 MB / 0.8749 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.9558, allocations: 11.19 kB / 0.8749 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.9558, allocations: 10.31 kB / 0.8749 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/0.9575, allocations: 0.4963 MB / 0.8754 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.9586, allocations: 273.6 kB / 0.8756 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.9603, allocations: 1.516 MB / 0.8771 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.9631, allocations: 372.4 kB / 0.8775 GB, free: 24.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/0.9634, allocations: 59.59 kB / 0.8775 GB, free: 24.9 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008681/0.9642, allocations: 461.6 kB / 0.878 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005413/0.9648, allocations: 253.2 kB / 0.8782 GB, free: 24.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003015/0.9678, allocations: 1.497 MB / 0.8797 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.9678, allocations: 19.98 kB / 0.8797 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.9679, allocations: 0 / 0.8797 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.9679, allocations: 3.984 kB / 0.8797 GB, free: 22.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006849/0.9747, allocations: 3.607 MB / 0.8832 GB, free: 19.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.9747, allocations: 4 kB / 0.8832 GB, free: 19.22 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.9753, allocations: 134.8 kB / 0.8833 GB, free: 19.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.9768, allocations: 484.3 kB / 0.8838 GB, free: 18.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.9768, allocations: 35.97 kB / 0.8838 GB, free: 18.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/0.9788, allocations: 1.579 MB / 0.8854 GB, free: 16.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.9788, allocations: 6.906 kB / 0.8854 GB, free: 16.95 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/0.9841, allocations: 1.947 MB / 0.8873 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.9854, allocations: 485.6 kB / 0.8877 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/0.9857, allocations: 20 kB / 0.8878 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.9873, allocations: 139.8 kB / 0.8879 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-05/0.9874, allocations: 59.28 kB / 0.888 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/0.9875, allocations: 47.95 kB / 0.888 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002581/0.99, allocations: 1.769 MB / 0.8897 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9901, allocations: 0 / 0.8897 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002179/0.9922, allocations: 0.6905 MB / 0.8904 GB, free: 11.77 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001076/0.9933, allocations: 0.6149 MB / 0.891 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003613/0.997, allocations: 1.35 MB / 0.8923 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.997, allocations: 0 / 0.8923 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.9992, allocations: 0.6822 MB / 0.893 GB, free: 9.23 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007696/1.007, allocations: 1.328 MB / 0.8943 GB, free: 7.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005988/1.013, allocations: 3.542 MB / 0.8977 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/1.014, allocations: 1.493 MB / 0.8992 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001802/1.016, allocations: 430.1 kB / 0.8996 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/1.016, allocations: 163.4 kB / 0.8998 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.016, allocations: 0 / 0.8998 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of Templates: time 0.08287/1.099, allocations: 48.82 MB / 0.9474 GB, free: 2.398 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)