Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001327/0.001327, allocations: 107.5 kB / 16.41 MB, free: 6.449 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.00166/0.00166, allocations: 189.2 kB / 17.34 MB, free: 5.707 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002426/0.002426, allocations: 288.6 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002745/0.002745, allocations: 95.84 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5123, allocations: 86.98 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1393/0.6516, allocations: 132.4 MB / 0.8964 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03592/0.6875, allocations: 23.23 MB / 0.919 GB, free: 7.812 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/0.6917, allocations: 127.2 kB / 0.9192 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004327/0.6961, allocations: 1.549 MB / 0.9207 GB, free: 6.129 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.7082, allocations: 4.318 MB / 0.9249 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006034/0.7143, allocations: 2.18 MB / 0.927 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01087/0.7251, allocations: 6.515 MB / 0.9334 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/0.7286, allocations: 1.914 MB / 0.9353 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007222/0.7358, allocations: 2.811 MB / 0.938 GB, free: 4.312 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004218/0.74, allocations: 1.883 MB / 0.9398 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006237/0.7406, allocations: 248 kB / 0.9401 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005137/0.7458, allocations: 1.938 MB / 0.942 GB, free: 244 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0008284/0.7466, allocations: 0.6068 MB / 0.9426 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002272/0.7489, allocations: 1.458 MB / 0.944 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007425/0.7563, allocations: 4.405 MB / 0.9483 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7563, allocations: 0 / 0.9483 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.011e-06/0.7563, allocations: 3.938 kB / 0.9483 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.436e-05/0.7564, allocations: 7.938 kB / 0.9483 GB, free: 9.738 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.006234/0.7626, allocations: 3.247 MB / 0.9515 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7626, allocations: 8.031 kB / 0.9515 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004802/0.7674, allocations: 0.8609 MB / 0.9523 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004761/0.7722, allocations: 2.344 MB / 0.9546 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.7723, allocations: 123 kB / 0.9547 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.7726, allocations: 164 kB / 0.9549 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.7768, allocations: 1.923 MB / 0.9568 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.7768, allocations: 3.938 kB / 0.9568 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.777, allocations: 60 kB / 0.9568 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.454e-05/0.777, allocations: 43.94 kB / 0.9569 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3929/1.17, allocations: 1.78 MB / 0.9586 GB, free: 184 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.01411/1.184, allocations: 8.983 MB / 0.9674 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004325/1.188, allocations: 1.148 MB / 0.9685 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/1.189, allocations: 436.4 kB / 0.9689 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007975/1.19, allocations: 1.721 MB / 0.9706 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.19, allocations: 46.59 kB / 0.9706 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.746e-06/1.19, allocations: 0 / 0.9706 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008788/1.199, allocations: 2.327 MB / 0.9729 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/1.199, allocations: 85.05 kB / 0.973 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/1.203, allocations: 2.498 MB / 0.9754 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/1.203, allocations: 41.67 kB / 0.9755 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006742/1.203, allocations: 1.052 MB / 0.9765 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/1.204, allocations: 291.5 kB / 0.9768 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003493/1.204, allocations: 249.5 kB / 0.977 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.914e-05/1.204, allocations: 349.8 kB / 0.9773 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/1.206, allocations: 0.5663 MB / 0.9779 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/1.207, allocations: 0.9531 MB / 0.9788 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/1.21, allocations: 1.255 MB / 0.9801 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/1.21, allocations: 0 / 0.9801 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00618/1.216, allocations: 2.024 MB / 0.982 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.216, allocations: 12.8 kB / 0.982 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.216, allocations: 15.09 kB / 0.9821 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/1.218, allocations: 414.8 kB / 0.9825 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.219, allocations: 277.8 kB / 0.9827 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/1.221, allocations: 1.504 MB / 0.9842 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/1.224, allocations: 368 kB / 0.9845 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.224, allocations: 67.95 kB / 0.9846 GB, free: 167.2 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 (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.0008242/1.225, allocations: 461.2 kB / 0.985 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/1.225, allocations: 262.3 kB / 0.9853 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/1.228, allocations: 1.49 MB / 0.9867 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.228, allocations: 19.67 kB / 0.9868 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.228, allocations: 0 / 0.9868 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.228, allocations: 7.984 kB / 0.9868 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/1.235, allocations: 3.591 MB / 0.9903 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.235, allocations: 0 / 0.9903 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/1.235, allocations: 131.8 kB / 0.9904 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/1.237, allocations: 415.7 kB / 0.9908 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/1.237, allocations: 27.97 kB / 0.9908 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/1.239, allocations: 1.573 MB / 0.9924 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.239, allocations: 4 kB / 0.9924 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005819/1.245, allocations: 1.952 MB / 0.9943 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.246, allocations: 499.5 kB / 0.9948 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/1.246, allocations: 25.95 kB / 0.9948 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.248, allocations: 135.8 kB / 0.9949 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/1.248, allocations: 55.86 kB / 0.995 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/1.248, allocations: 39.97 kB / 0.995 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002376/1.25, allocations: 1.746 MB / 0.9967 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.25, allocations: 3.719 kB / 0.9967 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001714/1.252, allocations: 0.7002 MB / 0.9974 GB, free: 154 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 (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.0009631/1.253, allocations: 0.6138 MB / 0.998 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003658/1.257, allocations: 1.299 MB / 0.9993 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/1.257, allocations: 0 / 0.9993 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.259, allocations: 0.6291 MB / 0.9999 GB, free: 151.6 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/1.264, allocations: 1.322 MB / 1.001 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005137/1.269, allocations: 3.599 MB / 1.005 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/1.27, allocations: 1.494 MB / 1.006 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001432/1.271, allocations: 434.7 kB / 1.007 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/1.272, allocations: 167.4 kB / 1.007 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.042e-06/1.272, allocations: 3.938 kB / 1.007 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.0627/1.334, allocations: 48.79 MB / 1.054 GB, free: 96.53 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)