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.001403/0.001403, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001411/0.001411, allocations: 190.7 kB / 16.25 MB, free: 6.602 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.106/1.106, allocations: 135.2 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.45 kB / 0.5049 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1915, allocations: 80.93 MB / 0.5839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4742/0.6658, allocations: 131 MB / 0.7118 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.04376/0.7096, allocations: 23.03 MB / 0.7343 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008196/0.7178, allocations: 111.5 kB / 0.7344 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.7238, allocations: 1.285 MB / 0.7357 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0159/0.7398, allocations: 3.806 MB / 0.7394 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007866/0.7477, allocations: 1.977 MB / 0.7413 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01473/0.7624, allocations: 6.581 MB / 0.7478 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005249/0.7677, allocations: 2.353 MB / 0.7501 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00947/0.7772, allocations: 2.773 MB / 0.7528 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/0.7819, allocations: 1.937 MB / 0.7547 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009765/0.7829, allocations: 244 kB / 0.7549 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006656/0.7896, allocations: 1.961 MB / 0.7568 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.7907, allocations: 0.5993 MB / 0.7574 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003214/0.7939, allocations: 1.47 MB / 0.7588 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009613/0.8036, allocations: 4.351 MB / 0.7631 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.8036, allocations: 0 / 0.7631 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8036, allocations: 0 / 0.7631 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.89e-05/0.8037, allocations: 0 / 0.7631 GB, free: 5.777 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.007286/0.811, allocations: 3.184 MB / 0.7662 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.8111, allocations: 12.03 kB / 0.7662 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.8158, allocations: 0.8395 MB / 0.767 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/0.8212, allocations: 2.283 MB / 0.7693 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009993/0.8222, allocations: 294.9 kB / 0.7695 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.8225, allocations: 160 kB / 0.7697 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004708/0.8273, allocations: 1.942 MB / 0.7716 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.8273, allocations: 0 / 0.7716 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.8275, allocations: 63.94 kB / 0.7716 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.8276, allocations: 40 kB / 0.7717 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004929/0.8325, allocations: 1.807 MB / 0.7734 GB, free: 10.93 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.01553/0.848, allocations: 9.017 MB / 0.7823 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/0.8527, allocations: 1.185 MB / 0.7834 GB, free: 120 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.8538, allocations: 462.3 kB / 0.7839 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/0.8557, allocations: 1.719 MB / 0.7855 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.8558, allocations: 50.23 kB / 0.7856 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.457e-06/0.8558, allocations: 4 kB / 0.7856 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009484/0.8653, allocations: 2.325 MB / 0.7879 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/0.8654, allocations: 89.11 kB / 0.7879 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/0.8704, allocations: 2.489 MB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.8706, allocations: 49.7 kB / 0.7904 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.8717, allocations: 1.045 MB / 0.7914 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.872, allocations: 272.2 kB / 0.7917 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004958/0.8725, allocations: 250.6 kB / 0.7919 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.8727, allocations: 353.9 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.8746, allocations: 0.5841 MB / 0.7928 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/0.8769, allocations: 0.9778 MB / 0.7938 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.88, allocations: 1.249 MB / 0.795 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.8801, allocations: 7.938 kB / 0.795 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007253/0.8873, allocations: 2.047 MB / 0.797 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.8874, allocations: 12 kB / 0.797 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.8874, allocations: 4 kB / 0.797 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/0.8892, allocations: 429.6 kB / 0.7975 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.8906, allocations: 287.6 kB / 0.7977 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.893, allocations: 1.499 MB / 0.7992 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/0.8966, allocations: 438 kB / 0.7996 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/0.8968, allocations: 59.97 kB / 0.7997 GB, free: 14.62 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 (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.001186/0.898, allocations: 462.6 kB / 0.8001 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006769/0.8987, allocations: 245 kB / 0.8003 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/0.9026, allocations: 1.494 MB / 0.8018 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.9026, allocations: 11.98 kB / 0.8018 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.9026, allocations: 0 / 0.8018 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.9027, allocations: 3.984 kB / 0.8018 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0084/0.9111, allocations: 3.598 MB / 0.8053 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.9111, allocations: 0 / 0.8053 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/0.9117, allocations: 140.1 kB / 0.8055 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.9133, allocations: 413.3 kB / 0.8059 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.098e-05/0.9134, allocations: 19.98 kB / 0.8059 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002727/0.9161, allocations: 1.573 MB / 0.8074 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9161, allocations: 4 kB / 0.8074 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006462/0.9226, allocations: 1.939 MB / 0.8093 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/0.9245, allocations: 485.6 kB / 0.8098 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004249/0.9249, allocations: 23.91 kB / 0.8098 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.9268, allocations: 167.8 kB / 0.81 GB, free: 3.797 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.9269, allocations: 59.86 kB / 0.81 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.927, allocations: 39.97 kB / 0.81 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003398/0.9304, allocations: 1.753 MB / 0.8118 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9304, allocations: 3.938 kB / 0.8118 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002282/0.9327, allocations: 0.6866 MB / 0.8124 GB, free: 1.25 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 (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.001307/0.934, allocations: 0.5951 MB / 0.813 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004448/0.9385, allocations: 1.393 MB / 0.8144 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.9385, allocations: 0 / 0.8144 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/0.9408, allocations: 0.6683 MB / 0.815 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006411/0.9473, allocations: 1.329 MB / 0.8163 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007538/0.9548, allocations: 4.298 MB / 0.8205 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.956, allocations: 1.494 MB / 0.822 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002149/0.9582, allocations: 428.6 kB / 0.8224 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/0.9586, allocations: 167.4 kB / 0.8225 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/0.9586, allocations: 4 kB / 0.8226 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of Templates: time 0.392/1.351, allocations: 50.21 MB / 0.8716 GB, free: 198.8 MB / 0.67 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)