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.004903/0.004903, allocations: 106.8 kB / 15.74 MB, free: 6.051 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.001144/0.001144, allocations: 197 kB / 16.68 MB, free: 5.98 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002157, allocations: 275.1 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9465/0.9465, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 87.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1682, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4718/0.64, allocations: 132.2 MB / 0.8955 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03431/0.6744, allocations: 23.22 MB / 0.9182 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005074/0.6795, allocations: 127.2 kB / 0.9183 GB, free: 7.414 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.6838, allocations: 1.487 MB / 0.9197 GB, free: 5.918 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.6954, allocations: 4.106 MB / 0.9238 GB, free: 1.793 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005302/0.7007, allocations: 2.173 MB / 0.9259 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008907/0.7096, allocations: 6.548 MB / 0.9323 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.7129, allocations: 2.359 MB / 0.9346 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00693/0.7198, allocations: 2.803 MB / 0.9373 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003176/0.723, allocations: 1.9 MB / 0.9392 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004532/0.7235, allocations: 248 kB / 0.9394 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004907/0.7284, allocations: 1.938 MB / 0.9413 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006351/0.7291, allocations: 0.5914 MB / 0.9419 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.7309, allocations: 1.458 MB / 0.9433 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006616/0.7376, allocations: 4.392 MB / 0.9476 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7376, allocations: 0 / 0.9476 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7376, allocations: 0 / 0.9476 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.819e-05/0.7376, allocations: 0 / 0.9476 GB, free: 9.312 MB / 0.7012 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.005575/0.7432, allocations: 3.184 MB / 0.9507 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.7433, allocations: 16.03 kB / 0.9507 GB, free: 6.027 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/0.7478, allocations: 0.8405 MB / 0.9515 GB, free: 5.184 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/0.7523, allocations: 2.327 MB / 0.9538 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.7524, allocations: 123 kB / 0.9539 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.7527, allocations: 164 kB / 0.9541 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004021/0.7567, allocations: 1.923 MB / 0.956 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.7568, allocations: 4 kB / 0.956 GB, free: 0.5078 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.7569, allocations: 64 kB / 0.956 GB, free: 456 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.757, allocations: 39.94 kB / 0.9561 GB, free: 416 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.7616, allocations: 1.796 MB / 0.9578 GB, free: 14.61 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.01278/0.7744, allocations: 9.004 MB / 0.9666 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004351/0.7788, allocations: 1.199 MB / 0.9678 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7799, allocations: 462 kB / 0.9682 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.7811, allocations: 1.722 MB / 0.9699 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.7811, allocations: 46.5 kB / 0.9699 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/0.7811, allocations: 0 / 0.9699 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008774/0.7899, allocations: 2.336 MB / 0.9722 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.79, allocations: 85.11 kB / 0.9723 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.7949, allocations: 2.532 MB / 0.9748 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.7951, allocations: 45.7 kB / 0.9748 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009721/0.796, allocations: 1.038 MB / 0.9758 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.7964, allocations: 268.2 kB / 0.9761 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005241/0.7969, allocations: 254.6 kB / 0.9763 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.797, allocations: 345.9 kB / 0.9767 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.7988, allocations: 0.5764 MB / 0.9772 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.8009, allocations: 0.9504 MB / 0.9781 GB, free: 8.484 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/0.8041, allocations: 1.244 MB / 0.9794 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.8041, allocations: 0 / 0.9794 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0068/0.8109, allocations: 2.025 MB / 0.9813 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.811, allocations: 8 kB / 0.9813 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.811, allocations: 12.03 kB / 0.9814 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.8129, allocations: 497 kB / 0.9818 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.8141, allocations: 279.6 kB / 0.9821 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/0.8164, allocations: 1.519 MB / 0.9836 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.8192, allocations: 366 kB / 0.9839 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.8194, allocations: 63.95 kB / 0.984 GB, free: 2.316 MB / 0.7325 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.0009542/0.8204, allocations: 465.1 kB / 0.9844 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006598/0.821, allocations: 245 kB / 0.9847 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/0.8249, allocations: 1.507 MB / 0.9861 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/0.825, allocations: 15.98 kB / 0.9862 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.825, allocations: 3.938 kB / 0.9862 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.825, allocations: 7.969 kB / 0.9862 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.8331, allocations: 3.616 MB / 0.9897 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.8332, allocations: 4 kB / 0.9897 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006089/0.8338, allocations: 123.8 kB / 0.9898 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.8355, allocations: 493.1 kB / 0.9903 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.8356, allocations: 23.98 kB / 0.9903 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/0.8383, allocations: 1.583 MB / 0.9919 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.8383, allocations: 7.969 kB / 0.9919 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006449/0.8447, allocations: 1.939 MB / 0.9938 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.8459, allocations: 489.6 kB / 0.9942 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005784/0.8465, allocations: 20 kB / 0.9943 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/0.8485, allocations: 139.8 kB / 0.9944 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/0.8486, allocations: 55.92 kB / 0.9944 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.8487, allocations: 39.97 kB / 0.9945 GB, free: 7.309 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00352/0.8522, allocations: 1.777 MB / 0.9962 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.724e-06/0.8522, allocations: 0 / 0.9962 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002188/0.8544, allocations: 0.6904 MB / 0.9969 GB, free: 4.836 MB / 0.7481 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.001285/0.8557, allocations: 0.6388 MB / 0.9975 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004293/0.86, allocations: 1.349 MB / 0.9988 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.86, allocations: 0 / 0.9988 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00246/0.8625, allocations: 0.6713 MB / 0.9995 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006472/0.869, allocations: 1.321 MB / 1.001 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/0.8758, allocations: 3.545 MB / 1.004 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.8772, allocations: 1.486 MB / 1.006 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001901/0.8791, allocations: 442.9 kB / 1.006 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.8797, allocations: 167.4 kB / 1.006 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of SimCode: time 1.894e-06/0.8797, allocations: 4 kB / 1.006 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of Templates: time 0.07831/0.958, allocations: 48.84 MB / 1.054 GB, free: 11 MB / 0.8106 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)