Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001105/0.001105, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00121/0.00121, allocations: 195 kB / 16.25 MB, free: 6.621 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.403/1.403, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9894/0.9894, allocations: 135.1 MB / 425.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.33 kB / 0.5049 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2144, allocations: 80.92 MB / 0.5839 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4697/0.6842, allocations: 131 MB / 0.7118 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03717/0.7214, allocations: 23.03 MB / 0.7343 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006624/0.7281, allocations: 115.1 kB / 0.7344 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005097/0.7332, allocations: 1.286 MB / 0.7357 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0139/0.7471, allocations: 3.804 MB / 0.7394 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006621/0.7538, allocations: 1.975 MB / 0.7413 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.7649, allocations: 6.579 MB / 0.7477 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004138/0.7691, allocations: 2.348 MB / 0.75 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008264/0.7773, allocations: 2.774 MB / 0.7527 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003973/0.7813, allocations: 1.945 MB / 0.7546 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005389/0.7819, allocations: 244 kB / 0.7549 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.7872, allocations: 1.961 MB / 0.7568 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009745/0.7882, allocations: 0.6071 MB / 0.7574 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/0.7906, allocations: 1.462 MB / 0.7588 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00768/0.7983, allocations: 4.355 MB / 0.7631 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.7983, allocations: 0 / 0.7631 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7983, allocations: 0 / 0.7631 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.406e-05/0.7984, allocations: 3.938 kB / 0.7631 GB, free: 6.027 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.006894/0.8053, allocations: 3.19 MB / 0.7662 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8054, allocations: 12.03 kB / 0.7662 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004538/0.8099, allocations: 0.8478 MB / 0.767 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.8151, allocations: 2.26 MB / 0.7692 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009841/0.8161, allocations: 294.8 kB / 0.7695 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.8165, allocations: 160 kB / 0.7697 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.821, allocations: 1.938 MB / 0.7716 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.821, allocations: 0 / 0.7716 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.8212, allocations: 64 kB / 0.7716 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.8212, allocations: 39.94 kB / 0.7717 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005035/0.8263, allocations: 1.831 MB / 0.7734 GB, free: 11.17 MB / 0.5919 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.01474/0.841, allocations: 9.026 MB / 0.7823 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004277/0.8453, allocations: 1.207 MB / 0.7834 GB, free: 340 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.8465, allocations: 457.4 kB / 0.7839 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001272/0.8477, allocations: 1.726 MB / 0.7856 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.8478, allocations: 42.25 kB / 0.7856 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/0.8478, allocations: 4 kB / 0.7856 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008984/0.8568, allocations: 2.328 MB / 0.7879 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.8569, allocations: 85.11 kB / 0.788 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00421/0.8611, allocations: 2.516 MB / 0.7904 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/0.8613, allocations: 45.7 kB / 0.7905 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000894/0.8622, allocations: 1.045 MB / 0.7915 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002891/0.8625, allocations: 280 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004308/0.8629, allocations: 254.6 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8631, allocations: 345.9 kB / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.8648, allocations: 0.592 MB / 0.7929 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/0.867, allocations: 0.966 MB / 0.7938 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.87, allocations: 1.257 MB / 0.7951 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.8701, allocations: 3.938 kB / 0.7951 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006812/0.8769, allocations: 2.051 MB / 0.7971 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.877, allocations: 8 kB / 0.7971 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.877, allocations: 8 kB / 0.7971 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.8789, allocations: 0.4962 MB / 0.7976 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.8802, allocations: 291.6 kB / 0.7979 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002202/0.8824, allocations: 1.507 MB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/0.8859, allocations: 445.8 kB / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.8862, allocations: 63.97 kB / 0.7998 GB, free: 14.71 MB / 0.6231 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.001198/0.8874, allocations: 454.9 kB / 0.8002 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007355/0.8881, allocations: 252.8 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.8919, allocations: 1.495 MB / 0.8019 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/0.892, allocations: 11.98 kB / 0.802 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.892, allocations: 4 kB / 0.802 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.892, allocations: 3.984 kB / 0.802 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008508/0.9005, allocations: 3.61 MB / 0.8055 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.9006, allocations: 4 kB / 0.8055 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.9012, allocations: 132.1 kB / 0.8056 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.903, allocations: 489.1 kB / 0.8061 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.9031, allocations: 19.98 kB / 0.8061 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.9058, allocations: 1.598 MB / 0.8077 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.9058, allocations: 4 kB / 0.8077 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006241/0.9121, allocations: 1.939 MB / 0.8096 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.9134, allocations: 493.5 kB / 0.81 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00038/0.9138, allocations: 16 kB / 0.8101 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.9156, allocations: 175.7 kB / 0.8102 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.9158, allocations: 59.86 kB / 0.8103 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/0.9159, allocations: 39.97 kB / 0.8103 GB, free: 3.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003216/0.9191, allocations: 1.777 MB / 0.8121 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.01e-07/0.9191, allocations: 0 / 0.8121 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002292/0.9214, allocations: 0.6828 MB / 0.8127 GB, free: 1.223 MB / 0.6231 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.001239/0.9227, allocations: 0.5966 MB / 0.8133 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004396/0.9271, allocations: 1.401 MB / 0.8147 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9271, allocations: 0 / 0.8147 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002335/0.9294, allocations: 0.6782 MB / 0.8153 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006103/0.9356, allocations: 1.328 MB / 0.8166 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/0.9422, allocations: 4.321 MB / 0.8208 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/0.9432, allocations: 1.489 MB / 0.8223 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001954/0.9451, allocations: 432.6 kB / 0.8227 GB, free: 6.926 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.9456, allocations: 175.4 kB / 0.8229 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of SimCode: time 9.01e-07/0.9456, allocations: 0 / 0.8229 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.3909/1.336, allocations: 50.46 MB / 0.8722 GB, free: 199.5 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)