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.001602/0.001602, allocations: 108.5 kB / 16.41 MB, free: 6.512 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.002074/0.002074, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 298.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.935/0.935, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 99.83 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4202, allocations: 86.98 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1295/0.5498, allocations: 132.2 MB / 0.8961 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03123/0.581, allocations: 23.21 MB / 0.9188 GB, free: 8.059 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004872/0.5859, allocations: 123.2 kB / 0.9189 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004304/0.5903, allocations: 1.498 MB / 0.9204 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.6008, allocations: 4.099 MB / 0.9244 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004952/0.6058, allocations: 2.161 MB / 0.9265 GB, free: 172 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008368/0.6141, allocations: 6.538 MB / 0.9329 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003485/0.6176, allocations: 2.355 MB / 0.9352 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/0.6235, allocations: 2.795 MB / 0.9379 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.6268, allocations: 1.882 MB / 0.9398 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006369/0.6275, allocations: 244 kB / 0.94 GB, free: 2.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.6319, allocations: 1.934 MB / 0.9419 GB, free: 340 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0007751/0.6327, allocations: 0.5992 MB / 0.9425 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002243/0.6349, allocations: 1.458 MB / 0.9439 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00606/0.641, allocations: 4.38 MB / 0.9482 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.641, allocations: 0 / 0.9482 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.641, allocations: 0 / 0.9482 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.868e-05/0.6411, allocations: 0 / 0.9482 GB, free: 9.875 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.006797/0.6479, allocations: 3.176 MB / 0.9513 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.648, allocations: 8.031 kB / 0.9513 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004527/0.6525, allocations: 0.836 MB / 0.9521 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.6571, allocations: 2.323 MB / 0.9544 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.6572, allocations: 131 kB / 0.9545 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.6575, allocations: 164 kB / 0.9546 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.6615, allocations: 1.923 MB / 0.9565 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.6616, allocations: 0 / 0.9565 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.6617, allocations: 64 kB / 0.9566 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.6618, allocations: 39.94 kB / 0.9566 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3188/0.9805, allocations: 1.786 MB / 0.9584 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.01218/0.9927, allocations: 8.962 MB / 0.9671 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004308/0.9971, allocations: 1.198 MB / 0.9683 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.9982, allocations: 460.5 kB / 0.9687 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007409/0.9989, allocations: 1.723 MB / 0.9704 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.999, allocations: 41.25 kB / 0.9704 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.896e-06/0.999, allocations: 1.375 kB / 0.9704 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008393/1.007, allocations: 2.326 MB / 0.9727 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/1.007, allocations: 85.05 kB / 0.9728 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.01, allocations: 2.495 MB / 0.9752 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.782e-05/1.01, allocations: 45.61 kB / 0.9753 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/1.011, allocations: 1.035 MB / 0.9763 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.011, allocations: 275.3 kB / 0.9765 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.012, allocations: 249.5 kB / 0.9768 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.834e-05/1.012, allocations: 355 kB / 0.9771 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/1.013, allocations: 0.5674 MB / 0.9777 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/1.015, allocations: 0.9545 MB / 0.9786 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/1.018, allocations: 1.245 MB / 0.9798 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.018, allocations: 7.875 kB / 0.9798 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005847/1.024, allocations: 2.012 MB / 0.9818 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.024, allocations: 10.69 kB / 0.9818 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.024, allocations: 6.875 kB / 0.9818 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/1.025, allocations: 423.7 kB / 0.9822 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.026, allocations: 278.9 kB / 0.9825 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/1.028, allocations: 1.507 MB / 0.984 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/1.031, allocations: 363.6 kB / 0.9843 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/1.031, allocations: 59.56 kB / 0.9844 GB, free: 167.4 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.0006485/1.031, allocations: 466 kB / 0.9848 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003275/1.032, allocations: 248.9 kB / 0.985 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/1.035, allocations: 1.503 MB / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.035, allocations: 7.047 kB / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.035, allocations: 0 / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005636/1.035, allocations: 477.7 kB / 0.987 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/1.036, allocations: 20.77 kB / 0.987 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/1.037, allocations: 135.8 kB / 0.9871 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/1.037, allocations: 55.86 kB / 0.9872 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00434/1.042, allocations: 1.569 MB / 0.9887 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003491/1.045, allocations: 2.053 MB / 0.9907 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009778/1.046, allocations: 481 kB / 0.9912 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002215/1.048, allocations: 1.753 MB / 0.9929 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of Backend: time 3.91e-07/1.048, allocations: 0 / 0.9929 GB, free: 158.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004457/1.053, allocations: 1.643 MB / 0.9945 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00698/1.06, allocations: 4.895 MB / 0.9993 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.06296/1.123, allocations: 50.39 MB / 1.048 GB, free: 102.6 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)