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.001102/0.001102, allocations: 107.1 kB / 15.99 MB, free: 6.355 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.001151/0.001151, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8007/0.8007, allocations: 135.1 MB / 425.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 67.89 kB / 0.5055 GB, free: 8.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3824, allocations: 80.92 MB / 0.5845 GB, free: 24.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1145/0.4969, allocations: 131 MB / 0.7124 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03435/0.5313, allocations: 23.03 MB / 0.7349 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005338/0.5367, allocations: 115.2 kB / 0.735 GB, free: 208 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005092/0.5419, allocations: 1.286 MB / 0.7363 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.5548, allocations: 3.807 MB / 0.74 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00625/0.5611, allocations: 1.974 MB / 0.7419 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.5712, allocations: 6.572 MB / 0.7483 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004087/0.5753, allocations: 2.363 MB / 0.7507 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3608/0.9362, allocations: 2.755 MB / 0.7533 GB, free: 46.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004512/0.9407, allocations: 1.933 MB / 0.7552 GB, free: 46.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.9418, allocations: 247.1 kB / 0.7555 GB, free: 46.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006365/0.9482, allocations: 1.964 MB / 0.7574 GB, free: 46.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.9495, allocations: 0.6013 MB / 0.758 GB, free: 46.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003425/0.9529, allocations: 1.458 MB / 0.7594 GB, free: 46.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006305/0.9592, allocations: 3.402 MB / 0.7627 GB, free: 46.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.9593, allocations: 1.969 kB / 0.7627 GB, free: 46.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9593, allocations: 1.906 kB / 0.7627 GB, free: 46.31 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001019/0.9594, allocations: 0 / 0.7627 GB, free: 46.31 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.007513/0.9669, allocations: 3.187 MB / 0.7658 GB, free: 44.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.967, allocations: 14.36 kB / 0.7659 GB, free: 44.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.9715, allocations: 0.8339 MB / 0.7667 GB, free: 44.66 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004798/0.9764, allocations: 2.277 MB / 0.7689 GB, free: 44.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009007/0.9773, allocations: 295.3 kB / 0.7692 GB, free: 44.09 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.9777, allocations: 165.3 kB / 0.7693 GB, free: 44.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.9818, allocations: 1.935 MB / 0.7712 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.295e-05/0.9819, allocations: 0 / 0.7712 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.9821, allocations: 67.78 kB / 0.7713 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.9821, allocations: 41.19 kB / 0.7713 GB, free: 43.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.9866, allocations: 1.812 MB / 0.7731 GB, free: 43.81 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.01323/0.9999, allocations: 9.013 MB / 0.7819 GB, free: 39.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00404/1.004, allocations: 1.187 MB / 0.7831 GB, free: 39.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/1.005, allocations: 459.5 kB / 0.7835 GB, free: 39.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007807/1.006, allocations: 1.725 MB / 0.7852 GB, free: 37.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/1.006, allocations: 44.59 kB / 0.7852 GB, free: 37.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.716e-06/1.006, allocations: 4 kB / 0.7852 GB, free: 37.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008179/1.014, allocations: 2.316 MB / 0.7875 GB, free: 36.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/1.014, allocations: 86.83 kB / 0.7876 GB, free: 36.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/1.018, allocations: 2.496 MB / 0.79 GB, free: 36.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002293/1.018, allocations: 48.33 kB / 0.79 GB, free: 36.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006954/1.019, allocations: 1.044 MB / 0.7911 GB, free: 36.29 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/1.019, allocations: 268.8 kB / 0.7913 GB, free: 36.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004237/1.02, allocations: 253.8 kB / 0.7916 GB, free: 36.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/1.02, allocations: 351.5 kB / 0.7919 GB, free: 35.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/1.021, allocations: 0.586 MB / 0.7925 GB, free: 35.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/1.023, allocations: 0.9678 MB / 0.7934 GB, free: 35.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/1.026, allocations: 1.262 MB / 0.7947 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.026, allocations: 3.188 kB / 0.7947 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006307/1.032, allocations: 2.048 MB / 0.7967 GB, free: 34.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/1.032, allocations: 9.656 kB / 0.7967 GB, free: 34.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.032, allocations: 6.781 kB / 0.7967 GB, free: 34.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/1.034, allocations: 431.4 kB / 0.7971 GB, free: 34.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.035, allocations: 287.7 kB / 0.7974 GB, free: 34.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/1.037, allocations: 1.505 MB / 0.7988 GB, free: 33.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.041, allocations: 438.5 kB / 0.7992 GB, free: 33.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003303/1.041, allocations: 62.81 kB / 0.7993 GB, free: 33.56 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.001506/1.042, allocations: 462 kB / 0.7997 GB, free: 33.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.043, allocations: 247.9 kB / 0.8 GB, free: 33.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/1.047, allocations: 1.485 MB / 0.8014 GB, free: 32.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/1.047, allocations: 13.47 kB / 0.8014 GB, free: 32.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.047, allocations: 0 / 0.8014 GB, free: 32.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.047, allocations: 10.94 kB / 0.8015 GB, free: 32.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/1.055, allocations: 3.596 MB / 0.805 GB, free: 31.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.055, allocations: 3.406 kB / 0.805 GB, free: 31.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/1.056, allocations: 139.3 kB / 0.8051 GB, free: 31.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001473/1.057, allocations: 423.4 kB / 0.8055 GB, free: 31.26 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.357e-05/1.057, allocations: 25.62 kB / 0.8055 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/1.06, allocations: 1.571 MB / 0.8071 GB, free: 30.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/1.06, allocations: 10.47 kB / 0.8071 GB, free: 30.08 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005877/1.066, allocations: 1.937 MB / 0.809 GB, free: 29.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.067, allocations: 482 kB / 0.8094 GB, free: 28.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008745/1.068, allocations: 23.95 kB / 0.8094 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002451/1.07, allocations: 178.9 kB / 0.8096 GB, free: 28.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/1.07, allocations: 54.06 kB / 0.8097 GB, free: 28.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.071, allocations: 44.89 kB / 0.8097 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003707/1.074, allocations: 1.753 MB / 0.8114 GB, free: 28.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.41e-07/1.074, allocations: 0 / 0.8114 GB, free: 28.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002917/1.077, allocations: 0.6739 MB / 0.8121 GB, free: 27.98 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.00154/1.079, allocations: 0.592 MB / 0.8127 GB, free: 27.47 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004098/1.083, allocations: 1.404 MB / 0.814 GB, free: 26.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/1.083, allocations: 0 / 0.814 GB, free: 26.43 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/1.085, allocations: 0.6694 MB / 0.8147 GB, free: 25.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00731/1.092, allocations: 1.341 MB / 0.816 GB, free: 24.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/1.1, allocations: 4.327 MB / 0.8202 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00138/1.102, allocations: 1.481 MB / 0.8217 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008149/1.102, allocations: 190.2 kB / 0.8219 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of SimCode: time 1.543e-06/1.102, allocations: 0 / 0.8219 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.08548/1.188, allocations: 62.03 MB / 0.8824 GB, free: 6.113 MB / 0.6231 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)