Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.001027/0.001027, allocations: 190.4 kB / 17.31 MB, free: 5.613 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8984/0.8984, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3706, allocations: 80.18 MB / 0.5815 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1183/0.489, allocations: 132.2 MB / 0.7106 GB, free: 9.695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03263/0.5216, allocations: 23.19 MB / 0.7332 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00585/0.5275, allocations: 127.2 kB / 0.7333 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005382/0.533, allocations: 1.498 MB / 0.7348 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.5471, allocations: 4.092 MB / 0.7388 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007441/0.5545, allocations: 2.165 MB / 0.7409 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01152/0.5661, allocations: 6.537 MB / 0.7473 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005546/0.5717, allocations: 2.357 MB / 0.7496 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4488/1.02, allocations: 2.758 MB / 0.7523 GB, free: 47.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004377/1.025, allocations: 1.887 MB / 0.7541 GB, free: 47.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008355/1.026, allocations: 248.1 kB / 0.7544 GB, free: 47.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006103/1.032, allocations: 1.936 MB / 0.7563 GB, free: 47.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009114/1.033, allocations: 0.6005 MB / 0.7568 GB, free: 47.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002939/1.036, allocations: 1.458 MB / 0.7583 GB, free: 46.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01389/1.05, allocations: 4.376 MB / 0.7625 GB, free: 46.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/1.05, allocations: 4.75 kB / 0.7625 GB, free: 46.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.815e-06/1.05, allocations: 0.9375 kB / 0.7625 GB, free: 46.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001488/1.05, allocations: 0.6562 kB / 0.7625 GB, free: 46.54 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.008162/1.058, allocations: 3.179 MB / 0.7656 GB, free: 45.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/1.058, allocations: 13.88 kB / 0.7657 GB, free: 45.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004528/1.063, allocations: 0.8348 MB / 0.7665 GB, free: 44.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/1.068, allocations: 2.345 MB / 0.7688 GB, free: 44.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-05/1.068, allocations: 123.9 kB / 0.7689 GB, free: 44.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/1.068, allocations: 162.6 kB / 0.769 GB, free: 44.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003662/1.072, allocations: 1.926 MB / 0.7709 GB, free: 44.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/1.072, allocations: 0 / 0.7709 GB, free: 44.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.072, allocations: 64.69 kB / 0.771 GB, free: 44.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.775e-05/1.072, allocations: 42.94 kB / 0.771 GB, free: 44.13 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003942/1.076, allocations: 1.786 MB / 0.7728 GB, free: 44.09 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.01136/1.087, allocations: 8.963 MB / 0.7815 GB, free: 39.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/1.091, allocations: 1.189 MB / 0.7827 GB, free: 39.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009262/1.092, allocations: 466.1 kB / 0.7831 GB, free: 39.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/1.093, allocations: 1.718 MB / 0.7848 GB, free: 37.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.093, allocations: 47.12 kB / 0.7848 GB, free: 37.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.394e-06/1.093, allocations: 0 / 0.7848 GB, free: 37.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007649/1.1, allocations: 2.325 MB / 0.7871 GB, free: 37.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.1, allocations: 85.48 kB / 0.7872 GB, free: 37.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/1.104, allocations: 2.509 MB / 0.7896 GB, free: 36.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.104, allocations: 42.73 kB / 0.7897 GB, free: 36.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/1.105, allocations: 1.039 MB / 0.7907 GB, free: 36.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000248/1.105, allocations: 269.6 kB / 0.791 GB, free: 36.42 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/1.106, allocations: 254.2 kB / 0.7912 GB, free: 36.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/1.106, allocations: 347.1 kB / 0.7915 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.107, allocations: 0.5739 MB / 0.7921 GB, free: 36.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/1.109, allocations: 0.9512 MB / 0.793 GB, free: 35.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/1.112, allocations: 1.248 MB / 0.7942 GB, free: 35.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/1.112, allocations: 2.594 kB / 0.7942 GB, free: 35.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005501/1.117, allocations: 2.016 MB / 0.7962 GB, free: 35.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.117, allocations: 9.781 kB / 0.7962 GB, free: 35.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.117, allocations: 12.31 kB / 0.7962 GB, free: 35.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/1.119, allocations: 429 kB / 0.7966 GB, free: 35.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.12, allocations: 280.7 kB / 0.7969 GB, free: 35.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/1.121, allocations: 1.501 MB / 0.7984 GB, free: 34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/1.124, allocations: 370.2 kB / 0.7987 GB, free: 33.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.124, allocations: 63.48 kB / 0.7988 GB, free: 33.89 MB / 0.5762 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008102/1.125, allocations: 456.6 kB / 0.7992 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003586/1.125, allocations: 246.8 kB / 0.7995 GB, free: 33.64 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/1.128, allocations: 1.494 MB / 0.8009 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/1.128, allocations: 12.92 kB / 0.8009 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.128, allocations: 0 / 0.8009 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.128, allocations: 3.469 kB / 0.8009 GB, free: 33.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0067/1.135, allocations: 3.605 MB / 0.8045 GB, free: 32.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.135, allocations: 3.125 kB / 0.8045 GB, free: 32.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/1.136, allocations: 136.9 kB / 0.8046 GB, free: 32.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/1.137, allocations: 419.6 kB / 0.805 GB, free: 32.15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/1.137, allocations: 27.36 kB / 0.805 GB, free: 32.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/1.139, allocations: 1.57 MB / 0.8065 GB, free: 30.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.139, allocations: 9.094 kB / 0.8066 GB, free: 30.97 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005135/1.144, allocations: 1.929 MB / 0.8084 GB, free: 30.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001131/1.145, allocations: 488.8 kB / 0.8089 GB, free: 29.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/1.146, allocations: 22.12 kB / 0.8089 GB, free: 29.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.147, allocations: 136.5 kB / 0.8091 GB, free: 29.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/1.147, allocations: 60.22 kB / 0.8091 GB, free: 29.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/1.147, allocations: 46.7 kB / 0.8092 GB, free: 29.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002501/1.15, allocations: 1.751 MB / 0.8109 GB, free: 29.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.15, allocations: 0 / 0.8109 GB, free: 29.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001886/1.152, allocations: 0.694 MB / 0.8115 GB, free: 29.27 MB / 0.5762 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001029/1.153, allocations: 0.6124 MB / 0.8121 GB, free: 29.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003521/1.156, allocations: 1.349 MB / 0.8135 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.156, allocations: 0 / 0.8135 GB, free: 28.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.158, allocations: 0.6667 MB / 0.8141 GB, free: 28.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004697/1.163, allocations: 1.324 MB / 0.8154 GB, free: 26.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/1.168, allocations: 3.539 MB / 0.8189 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/1.169, allocations: 1.484 MB / 0.8203 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001467/1.17, allocations: 434 kB / 0.8207 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/1.171, allocations: 171 kB / 0.8209 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of SimCode: time 7.22e-07/1.171, allocations: 0 / 0.8209 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of Templates: time 0.07112/1.242, allocations: 48.17 MB / 0.8679 GB, free: 6.527 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)