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.004633/0.004633, allocations: 103.3 kB / 15.73 MB, free: 6.008 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.001067/0.001067, allocations: 197.4 kB / 16.68 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002004, allocations: 287.8 kB / 290.8 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.9468/0.9468, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001747, allocations: 91.84 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4098, allocations: 86.97 MB / 0.7664 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1175/0.5274, allocations: 132.2 MB / 0.8955 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03329/0.5608, allocations: 23.22 MB / 0.9182 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004618/0.5654, allocations: 127.2 kB / 0.9183 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.5704, allocations: 1.486 MB / 0.9198 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.5845, allocations: 4.103 MB / 0.9238 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006975/0.5915, allocations: 2.17 MB / 0.9259 GB, free: 140 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.6017, allocations: 6.548 MB / 0.9323 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004461/0.6062, allocations: 2.359 MB / 0.9346 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006802/0.613, allocations: 2.803 MB / 0.9373 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/0.6163, allocations: 1.894 MB / 0.9392 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007907/0.6171, allocations: 248 kB / 0.9394 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004706/0.6218, allocations: 1.934 MB / 0.9413 GB, free: 268 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009338/0.6227, allocations: 0.6031 MB / 0.9419 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.6254, allocations: 1.458 MB / 0.9433 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008178/0.6336, allocations: 4.388 MB / 0.9476 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6337, allocations: 0 / 0.9476 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6337, allocations: 0 / 0.9476 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.927e-05/0.6337, allocations: 4 kB / 0.9476 GB, free: 9.789 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.005377/0.6391, allocations: 3.193 MB / 0.9507 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6392, allocations: 12.02 kB / 0.9507 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00404/0.6432, allocations: 0.8402 MB / 0.9515 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/0.6474, allocations: 2.307 MB / 0.9538 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.6475, allocations: 127 kB / 0.9539 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.6477, allocations: 160 kB / 0.9541 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003954/0.6517, allocations: 1.926 MB / 0.9559 GB, free: 1 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.6517, allocations: 4 kB / 0.956 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.6519, allocations: 60 kB / 0.956 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.6519, allocations: 39.94 kB / 0.956 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3725/1.024, allocations: 1.803 MB / 0.9578 GB, free: 184.6 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.01322/1.038, allocations: 8.99 MB / 0.9666 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003874/1.042, allocations: 1.193 MB / 0.9678 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/1.043, allocations: 465.1 kB / 0.9682 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007156/1.043, allocations: 1.724 MB / 0.9699 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/1.043, allocations: 42.34 kB / 0.9699 GB, free: 176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.344e-06/1.043, allocations: 1.859 kB / 0.9699 GB, free: 176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007593/1.051, allocations: 2.341 MB / 0.9722 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/1.051, allocations: 85.05 kB / 0.9723 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/1.054, allocations: 2.529 MB / 0.9748 GB, free: 174 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/1.054, allocations: 45.61 kB / 0.9748 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005897/1.055, allocations: 1.041 MB / 0.9758 GB, free: 173 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/1.055, allocations: 271.1 kB / 0.9761 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003283/1.055, allocations: 257.4 kB / 0.9763 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.669e-05/1.055, allocations: 347.7 kB / 0.9767 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/1.057, allocations: 0.5724 MB / 0.9772 GB, free: 172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/1.058, allocations: 0.9494 MB / 0.9781 GB, free: 171.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/1.061, allocations: 1.252 MB / 0.9794 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/1.061, allocations: 3.906 kB / 0.9794 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005575/1.066, allocations: 2.016 MB / 0.9813 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.066, allocations: 14.69 kB / 0.9813 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.066, allocations: 7.156 kB / 0.9814 GB, free: 169.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/1.068, allocations: 490.1 kB / 0.9818 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.069, allocations: 281.7 kB / 0.9821 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/1.071, allocations: 1.529 MB / 0.9836 GB, free: 168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/1.073, allocations: 367.7 kB / 0.9839 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/1.073, allocations: 64.33 kB / 0.984 GB, free: 167.7 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.000726/1.074, allocations: 456 kB / 0.9844 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/1.074, allocations: 248.9 kB / 0.9847 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/1.077, allocations: 1.506 MB / 0.9861 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/1.078, allocations: 15.98 kB / 0.9862 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.078, allocations: 0 / 0.9862 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.078, allocations: 3.984 kB / 0.9862 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/1.084, allocations: 3.618 MB / 0.9897 GB, free: 161.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.084, allocations: 4 kB / 0.9897 GB, free: 161.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/1.084, allocations: 128.2 kB / 0.9898 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/1.086, allocations: 493.9 kB / 0.9903 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/1.086, allocations: 27.98 kB / 0.9903 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/1.088, allocations: 1.587 MB / 0.9919 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.088, allocations: 4 kB / 0.9919 GB, free: 159.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005061/1.093, allocations: 1.947 MB / 0.9938 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/1.094, allocations: 0.4937 MB / 0.9943 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003586/1.094, allocations: 16 kB / 0.9943 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.096, allocations: 131.8 kB / 0.9944 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/1.096, allocations: 66.64 kB / 0.9945 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.972e-05/1.096, allocations: 43.62 kB / 0.9945 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002333/1.098, allocations: 1.777 MB / 0.9962 GB, free: 155 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/1.098, allocations: 0 / 0.9962 GB, free: 155 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001825/1.1, allocations: 0.688 MB / 0.9969 GB, free: 154.3 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.0009248/1.101, allocations: 0.6066 MB / 0.9975 GB, free: 153.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003481/1.105, allocations: 1.342 MB / 0.9988 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/1.105, allocations: 0 / 0.9988 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/1.107, allocations: 0.6728 MB / 0.9995 GB, free: 151.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/1.112, allocations: 1.327 MB / 1.001 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/1.119, allocations: 3.555 MB / 1.004 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008531/1.12, allocations: 1.49 MB / 1.006 GB, free: 145.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001857/1.121, allocations: 447 kB / 1.006 GB, free: 144.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/1.122, allocations: 167.4 kB / 1.006 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/1.122, allocations: 0 / 1.006 GB, free: 144.8 MB / 0.7169 GB Notification: Performance of Templates: time 0.06142/1.183, allocations: 49.84 MB / 1.055 GB, free: 95.71 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)