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.001084/0.001084, allocations: 104.2 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.001054/0.001054, allocations: 196.9 kB / 16.91 MB, free: 6.188 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.305/1.305, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.757/0.757, allocations: 132.2 MB / 422.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 63.89 kB / 0.5019 GB, free: 12.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3686, allocations: 80.18 MB / 0.5802 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.117/0.4857, allocations: 131 MB / 0.7081 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0327/0.5184, allocations: 23.04 MB / 0.7306 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005431/0.5239, allocations: 115.2 kB / 0.7307 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.5287, allocations: 1.282 MB / 0.732 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.5405, allocations: 3.807 MB / 0.7357 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005739/0.5463, allocations: 1.979 MB / 0.7376 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009695/0.556, allocations: 6.574 MB / 0.7441 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003982/0.56, allocations: 2.355 MB / 0.7464 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007216/0.5672, allocations: 2.77 MB / 0.7491 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3546/0.9218, allocations: 1.925 MB / 0.7509 GB, free: 48.21 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00107/0.9229, allocations: 247.7 kB / 0.7512 GB, free: 48.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005457/0.9284, allocations: 1.96 MB / 0.7531 GB, free: 48.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.9295, allocations: 0.6019 MB / 0.7537 GB, free: 48.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004444/0.9339, allocations: 1.455 MB / 0.7551 GB, free: 48.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.9409, allocations: 3.407 MB / 0.7584 GB, free: 48.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.9409, allocations: 1.219 kB / 0.7584 GB, free: 48.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9409, allocations: 0 / 0.7584 GB, free: 48.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000158/0.9411, allocations: 0 / 0.7584 GB, free: 48.1 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.008785/0.9499, allocations: 3.187 MB / 0.7615 GB, free: 46.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.95, allocations: 9.812 kB / 0.7615 GB, free: 46.63 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00503/0.955, allocations: 0.8372 MB / 0.7624 GB, free: 46.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005461/0.9605, allocations: 2.282 MB / 0.7646 GB, free: 45.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/0.9616, allocations: 289.3 kB / 0.7649 GB, free: 45.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005781/0.9622, allocations: 165.3 kB / 0.765 GB, free: 45.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004517/0.9667, allocations: 1.936 MB / 0.7669 GB, free: 45.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.9668, allocations: 0 / 0.7669 GB, free: 45.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.9669, allocations: 67.12 kB / 0.767 GB, free: 45.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.967, allocations: 40.25 kB / 0.767 GB, free: 45.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004425/0.9714, allocations: 1.815 MB / 0.7688 GB, free: 45.66 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.0136/0.985, allocations: 9.006 MB / 0.7776 GB, free: 41.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004004/0.9891, allocations: 1.194 MB / 0.7788 GB, free: 41.25 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009892/0.9901, allocations: 463.5 kB / 0.7792 GB, free: 41.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000792/0.9909, allocations: 1.719 MB / 0.7809 GB, free: 39.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.9909, allocations: 40.84 kB / 0.7809 GB, free: 39.21 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.056e-06/0.9909, allocations: 0 / 0.7809 GB, free: 39.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008478/0.9994, allocations: 2.33 MB / 0.7832 GB, free: 38.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.9995, allocations: 84.89 kB / 0.7833 GB, free: 38.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/1.004, allocations: 2.494 MB / 0.7857 GB, free: 38.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002857/1.004, allocations: 46.09 kB / 0.7858 GB, free: 38.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008019/1.005, allocations: 1.054 MB / 0.7868 GB, free: 38.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.005, allocations: 265.4 kB / 0.787 GB, free: 37.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004488/1.006, allocations: 257.4 kB / 0.7873 GB, free: 37.94 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.614e-05/1.006, allocations: 342.2 kB / 0.7876 GB, free: 37.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.008, allocations: 0.5915 MB / 0.7882 GB, free: 37.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/1.01, allocations: 0.9622 MB / 0.7891 GB, free: 37.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002834/1.012, allocations: 1.262 MB / 0.7904 GB, free: 36.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/1.012, allocations: 4.594 kB / 0.7904 GB, free: 36.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006366/1.019, allocations: 2.052 MB / 0.7924 GB, free: 36.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/1.019, allocations: 8.062 kB / 0.7924 GB, free: 36.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/1.019, allocations: 8.219 kB / 0.7924 GB, free: 36.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/1.021, allocations: 423.3 kB / 0.7928 GB, free: 36.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/1.022, allocations: 294 kB / 0.7931 GB, free: 36.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/1.024, allocations: 1.5 MB / 0.7945 GB, free: 35.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/1.027, allocations: 437.3 kB / 0.7949 GB, free: 35.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/1.027, allocations: 64.66 kB / 0.795 GB, free: 35.41 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.0009797/1.028, allocations: 456.2 kB / 0.7954 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006334/1.029, allocations: 253.5 kB / 0.7957 GB, free: 35.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/1.032, allocations: 1.494 MB / 0.7971 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/1.032, allocations: 9.891 kB / 0.7972 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.032, allocations: 0 / 0.7972 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.032, allocations: 4.266 kB / 0.7972 GB, free: 35.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007548/1.04, allocations: 3.596 MB / 0.8007 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.04, allocations: 2.625 kB / 0.8007 GB, free: 33.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/1.041, allocations: 130 kB / 0.8008 GB, free: 33.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/1.042, allocations: 423.9 kB / 0.8012 GB, free: 33.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/1.042, allocations: 26.67 kB / 0.8012 GB, free: 33.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/1.044, allocations: 1.577 MB / 0.8028 GB, free: 32.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.044, allocations: 12.31 kB / 0.8028 GB, free: 32.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/1.05, allocations: 1.931 MB / 0.8047 GB, free: 31.59 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.052, allocations: 486.4 kB / 0.8051 GB, free: 31.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000533/1.052, allocations: 17.78 kB / 0.8051 GB, free: 31.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001852/1.054, allocations: 174.4 kB / 0.8053 GB, free: 31.22 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.054, allocations: 60.52 kB / 0.8054 GB, free: 31.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.853e-05/1.054, allocations: 44.19 kB / 0.8054 GB, free: 31.19 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00272/1.057, allocations: 1.749 MB / 0.8071 GB, free: 30.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.42e-07/1.057, allocations: 0 / 0.8071 GB, free: 30.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002416/1.06, allocations: 0.685 MB / 0.8078 GB, free: 30.68 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.00118/1.061, allocations: 0.6007 MB / 0.8084 GB, free: 30.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003913/1.065, allocations: 1.391 MB / 0.8097 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.065, allocations: 4.062 kB / 0.8097 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/1.067, allocations: 0.6667 MB / 0.8104 GB, free: 30 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006517/1.073, allocations: 1.338 MB / 0.8117 GB, free: 29.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005975/1.079, allocations: 4.335 MB / 0.8159 GB, free: 26.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/1.08, allocations: 1.484 MB / 0.8174 GB, free: 24.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007035/1.081, allocations: 179.1 kB / 0.8175 GB, free: 24.53 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/1.081, allocations: 0 / 0.8175 GB, free: 24.53 MB / 0.5762 GB Notification: Performance of Templates: time 0.06942/1.15, allocations: 62.05 MB / 0.8781 GB, free: 11.59 MB / 0.6231 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)