Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001607/0.001607, allocations: 105.7 kB / 16.41 MB, free: 6.492 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.001868/0.001869, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00214/0.00214, allocations: 291.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9575/0.9575, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4499/0.4518, allocations: 86.97 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1359/0.5878, allocations: 132.2 MB / 0.8962 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03378/0.6216, allocations: 23.23 MB / 0.9188 GB, free: 7.969 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005402/0.627, allocations: 119.3 kB / 0.919 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004976/0.6321, allocations: 1.498 MB / 0.9204 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/0.6449, allocations: 4.097 MB / 0.9244 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006305/0.6512, allocations: 2.162 MB / 0.9265 GB, free: 84 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009096/0.6604, allocations: 6.553 MB / 0.9329 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004045/0.6644, allocations: 2.363 MB / 0.9352 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006484/0.6709, allocations: 2.798 MB / 0.938 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.6743, allocations: 1.887 MB / 0.9398 GB, free: 2.391 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008198/0.6752, allocations: 248 kB / 0.9401 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.68, allocations: 1.942 MB / 0.9419 GB, free: 208 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009504/0.6809, allocations: 0.5953 MB / 0.9425 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.6837, allocations: 1.462 MB / 0.944 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009129/0.6928, allocations: 4.392 MB / 0.9482 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.6929, allocations: 0 / 0.9482 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6929, allocations: 0 / 0.9482 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001392/0.693, allocations: 0 / 0.9482 GB, free: 9.734 MB / 0.7169 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.007506/0.7005, allocations: 3.188 MB / 0.9514 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.7006, allocations: 8.031 kB / 0.9514 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004623/0.7052, allocations: 0.8441 MB / 0.9522 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.711, allocations: 2.319 MB / 0.9545 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.7112, allocations: 123 kB / 0.9546 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/0.7116, allocations: 160 kB / 0.9547 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005069/0.7167, allocations: 1.926 MB / 0.9566 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.03e-05/0.7168, allocations: 3.984 kB / 0.9566 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002301/0.717, allocations: 60 kB / 0.9567 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/0.7171, allocations: 40 kB / 0.9567 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4247/1.142, allocations: 1.799 MB / 0.9585 GB, free: 184.1 MB / 0.7169 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.01302/1.155, allocations: 8.998 MB / 0.9673 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/1.159, allocations: 1.197 MB / 0.9684 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/1.16, allocations: 464.2 kB / 0.9689 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/1.161, allocations: 1.721 MB / 0.9705 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/1.161, allocations: 41.19 kB / 0.9706 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.594e-06/1.161, allocations: 1.656 kB / 0.9706 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008126/1.169, allocations: 2.338 MB / 0.9729 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/1.169, allocations: 87.83 kB / 0.973 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/1.172, allocations: 2.527 MB / 0.9754 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.172, allocations: 47.16 kB / 0.9755 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/1.173, allocations: 1.039 MB / 0.9765 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.173, allocations: 275.5 kB / 0.9767 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/1.174, allocations: 249.2 kB / 0.977 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/1.174, allocations: 349.7 kB / 0.9773 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.175, allocations: 0.5705 MB / 0.9779 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.177, allocations: 0.9547 MB / 0.9788 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002617/1.179, allocations: 1.252 MB / 0.98 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.18, allocations: 3.875 kB / 0.98 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005876/1.185, allocations: 2.018 MB / 0.982 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.185, allocations: 7.656 kB / 0.982 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.185, allocations: 11.44 kB / 0.982 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/1.187, allocations: 498.7 kB / 0.9825 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/1.188, allocations: 278.6 kB / 0.9828 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/1.19, allocations: 1.519 MB / 0.9842 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.192, allocations: 376.2 kB / 0.9846 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.193, allocations: 63.95 kB / 0.9847 GB, free: 167.1 MB / 0.7169 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.0008197/1.193, allocations: 462 kB / 0.9851 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/1.194, allocations: 244.9 kB / 0.9853 GB, free: 166.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/1.197, allocations: 1.502 MB / 0.9868 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.197, allocations: 16 kB / 0.9868 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.197, allocations: 0 / 0.9868 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.197, allocations: 7.969 kB / 0.9868 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006537/1.204, allocations: 3.615 MB / 0.9904 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.204, allocations: 4 kB / 0.9904 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/1.204, allocations: 123.8 kB / 0.9905 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/1.206, allocations: 490.8 kB / 0.9909 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-05/1.206, allocations: 27.98 kB / 0.991 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/1.208, allocations: 1.595 MB / 0.9925 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.208, allocations: 4 kB / 0.9925 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005355/1.213, allocations: 1.943 MB / 0.9944 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000997/1.214, allocations: 489.6 kB / 0.9949 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/1.215, allocations: 23.98 kB / 0.9949 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/1.216, allocations: 139.8 kB / 0.9951 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/1.216, allocations: 59.8 kB / 0.9951 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/1.216, allocations: 39.97 kB / 0.9951 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002356/1.219, allocations: 1.773 MB / 0.9969 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.219, allocations: 0 / 0.9969 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001734/1.221, allocations: 0.6908 MB / 0.9976 GB, free: 153.7 MB / 0.7169 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.0009647/1.222, allocations: 0.6197 MB / 0.9982 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003624/1.225, allocations: 1.344 MB / 0.9995 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.225, allocations: 4 kB / 0.9995 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/1.227, allocations: 0.6689 MB / 1 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/1.233, allocations: 1.335 MB / 1.001 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006338/1.239, allocations: 3.588 MB / 1.005 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00071/1.24, allocations: 1.478 MB / 1.006 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/1.241, allocations: 183.4 kB / 1.007 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/1.241, allocations: 0 / 1.007 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.05985/1.3, allocations: 63.13 MB / 1.068 GB, free: 81.76 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)