Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007111/0.007111, allocations: 95.22 kB / 15.73 MB, free: 6.043 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.00138/0.00138, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.98/0.98, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.91 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5033, allocations: 80.91 MB / 0.6646 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1414/0.6447, allocations: 132.2 MB / 0.7937 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03369/0.6785, allocations: 23.19 MB / 0.8164 GB, free: 5.793 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006329/0.6848, allocations: 123.2 kB / 0.8165 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.005262/0.6901, allocations: 1.487 MB / 0.8179 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01408/0.7043, allocations: 4.099 MB / 0.8219 GB, free: 60 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006795/0.7111, allocations: 2.17 MB / 0.8241 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009868/0.721, allocations: 6.541 MB / 0.8304 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004219/0.7252, allocations: 2.361 MB / 0.8327 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006693/0.7319, allocations: 2.754 MB / 0.8354 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.7358, allocations: 1.886 MB / 0.8373 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009924/0.7368, allocations: 248 kB / 0.8375 GB, free: 40 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006343/0.7431, allocations: 1.938 MB / 0.8394 GB, free: 14.1 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001111/0.7443, allocations: 0.5992 MB / 0.84 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003643/0.7479, allocations: 1.454 MB / 0.8414 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.7592, allocations: 4.41 MB / 0.8457 GB, free: 7.602 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.7592, allocations: 3.984 kB / 0.8457 GB, free: 7.598 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7593, allocations: 0 / 0.8457 GB, free: 7.598 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001634/0.7594, allocations: 0 / 0.8457 GB, free: 7.598 MB / 0.67 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.009971/0.7694, allocations: 3.27 MB / 0.8489 GB, free: 4.238 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.7695, allocations: 12.03 kB / 0.8489 GB, free: 4.227 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004768/0.7743, allocations: 0.8489 MB / 0.8498 GB, free: 3.375 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006081/0.7804, allocations: 2.356 MB / 0.8521 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.7806, allocations: 127 kB / 0.8522 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004917/0.7811, allocations: 160 kB / 0.8523 GB, free: 0.6641 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/0.7864, allocations: 1.923 MB / 0.8542 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.7865, allocations: 7.938 kB / 0.8542 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.7868, allocations: 64 kB / 0.8543 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.012e-05/0.7868, allocations: 36 kB / 0.8543 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005287/0.7921, allocations: 1.78 MB / 0.856 GB, free: 12.79 MB / 0.6856 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.0153/0.8074, allocations: 8.991 MB / 0.8648 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004233/0.8117, allocations: 1.208 MB / 0.866 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.8128, allocations: 469.3 kB / 0.8665 GB, free: 1.512 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3528/1.166, allocations: 1.721 MB / 0.8681 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/1.166, allocations: 46.06 kB / 0.8682 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 3.386e-06/1.166, allocations: 0 / 0.8682 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009776/1.176, allocations: 2.333 MB / 0.8705 GB, free: 186 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/1.176, allocations: 89.78 kB / 0.8705 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004915/1.181, allocations: 2.497 MB / 0.873 GB, free: 185 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.181, allocations: 48.36 kB / 0.873 GB, free: 185 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009617/1.182, allocations: 1.047 MB / 0.8741 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/1.182, allocations: 288.1 kB / 0.8743 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005158/1.183, allocations: 256.7 kB / 0.8746 GB, free: 184 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001103/1.183, allocations: 351.8 kB / 0.8749 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/1.185, allocations: 0.5726 MB / 0.8755 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/1.187, allocations: 0.9494 MB / 0.8764 GB, free: 183 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/1.19, allocations: 1.244 MB / 0.8776 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/1.19, allocations: 4.156 kB / 0.8776 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00702/1.197, allocations: 2.03 MB / 0.8796 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.197, allocations: 8.031 kB / 0.8796 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/1.197, allocations: 7.969 kB / 0.8796 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/1.198, allocations: 426.1 kB / 0.88 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.2, allocations: 282.2 kB / 0.8803 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/1.202, allocations: 1.501 MB / 0.8818 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/1.205, allocations: 371.2 kB / 0.8821 GB, free: 180.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.205, allocations: 69.66 kB / 0.8822 GB, free: 180.3 MB / 0.6856 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.001115/1.206, allocations: 460 kB / 0.8826 GB, free: 180 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007607/1.207, allocations: 256.4 kB / 0.8829 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/1.211, allocations: 1.494 MB / 0.8843 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/1.211, allocations: 13.97 kB / 0.8843 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.211, allocations: 0 / 0.8843 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/1.211, allocations: 9.391 kB / 0.8843 GB, free: 179.2 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009728/1.22, allocations: 3.6 MB / 0.8879 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.221, allocations: 2.438 kB / 0.8879 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/1.221, allocations: 140.1 kB / 0.888 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/1.224, allocations: 420.3 kB / 0.8884 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.224, allocations: 26.89 kB / 0.8884 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003094/1.227, allocations: 1.568 MB / 0.8899 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/1.227, allocations: 3.531 kB / 0.8899 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00808/1.235, allocations: 1.959 MB / 0.8919 GB, free: 174.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00212/1.237, allocations: 497.4 kB / 0.8923 GB, free: 173.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/1.238, allocations: 22.92 kB / 0.8924 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.241, allocations: 134.4 kB / 0.8925 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/1.241, allocations: 54.95 kB / 0.8925 GB, free: 173.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/1.241, allocations: 45.66 kB / 0.8926 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00485/1.246, allocations: 1.753 MB / 0.8943 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.2e-07/1.246, allocations: 1.594 kB / 0.8943 GB, free: 172.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003088/1.249, allocations: 0.6921 MB / 0.895 GB, free: 172.5 MB / 0.6856 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.002116/1.252, allocations: 0.6123 MB / 0.8956 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006194/1.258, allocations: 1.343 MB / 0.8969 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.258, allocations: 1.281 kB / 0.8969 GB, free: 171.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003163/1.261, allocations: 0.6745 MB / 0.8975 GB, free: 171.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/1.272, allocations: 1.327 MB / 0.8988 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/1.282, allocations: 3.605 MB / 0.9024 GB, free: 168.6 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/1.283, allocations: 1.482 MB / 0.9038 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00231/1.286, allocations: 442.9 kB / 0.9042 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005455/1.286, allocations: 166 kB / 0.9044 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/1.286, allocations: 0 / 0.9044 GB, free: 167.3 MB / 0.6856 GB Notification: Performance of Templates: time 0.06656/1.353, allocations: 48.57 MB / 0.9518 GB, free: 123.1 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)