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.00149/0.00149, allocations: 105.9 kB / 16.41 MB, free: 6.496 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.001628/0.001628, allocations: 191 kB / 17.34 MB, free: 5.766 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002249, allocations: 282.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9584/0.9584, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 104.2 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.4562, allocations: 86.97 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1187/0.575, allocations: 132.2 MB / 0.8961 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03154/0.6065, allocations: 23.22 MB / 0.9188 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005074/0.6116, allocations: 123.2 kB / 0.9189 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.6164, allocations: 1.494 MB / 0.9204 GB, free: 6.426 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.6287, allocations: 4.096 MB / 0.9244 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00629/0.6351, allocations: 2.173 MB / 0.9265 GB, free: 160 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.6452, allocations: 6.534 MB / 0.9329 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003887/0.6491, allocations: 2.351 MB / 0.9352 GB, free: 7.191 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006744/0.6559, allocations: 2.797 MB / 0.9379 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00364/0.6595, allocations: 1.882 MB / 0.9397 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0009038/0.6604, allocations: 244 kB / 0.94 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/0.6663, allocations: 1.942 MB / 0.9419 GB, free: 328 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.6673, allocations: 0.5875 MB / 0.9424 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002474/0.6698, allocations: 1.458 MB / 0.9439 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007693/0.6775, allocations: 4.38 MB / 0.9481 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.6776, allocations: 8 kB / 0.9482 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.265e-06/0.6776, allocations: 0 / 0.9482 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.131e-05/0.6776, allocations: 4 kB / 0.9482 GB, free: 9.863 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.006559/0.6842, allocations: 3.16 MB / 0.9512 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.6843, allocations: 12.03 kB / 0.9513 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.6889, allocations: 0.836 MB / 0.9521 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005204/0.6941, allocations: 2.338 MB / 0.9544 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.6943, allocations: 123 kB / 0.9545 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.6946, allocations: 164 kB / 0.9546 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/0.699, allocations: 1.923 MB / 0.9565 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.6991, allocations: 0 / 0.9565 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.6993, allocations: 64 kB / 0.9566 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.6993, allocations: 43.92 kB / 0.9566 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4193/1.119, allocations: 1.782 MB / 0.9584 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.01445/1.133, allocations: 8.953 MB / 0.9671 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/1.137, allocations: 1.208 MB / 0.9683 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/1.139, allocations: 459.5 kB / 0.9687 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009117/1.139, allocations: 1.725 MB / 0.9704 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/1.14, allocations: 45.47 kB / 0.9704 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.326e-06/1.14, allocations: 0 / 0.9704 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008718/1.148, allocations: 2.329 MB / 0.9727 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.148, allocations: 87.14 kB / 0.9728 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003526/1.152, allocations: 2.494 MB / 0.9752 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.152, allocations: 45.64 kB / 0.9753 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006825/1.153, allocations: 1.036 MB / 0.9763 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/1.153, allocations: 275.3 kB / 0.9766 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/1.153, allocations: 253.3 kB / 0.9768 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.834e-05/1.153, allocations: 345.8 kB / 0.9771 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/1.155, allocations: 0.5729 MB / 0.9777 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00183/1.157, allocations: 0.9508 MB / 0.9786 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/1.16, allocations: 1.256 MB / 0.9798 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.16, allocations: 3.969 kB / 0.9798 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006069/1.166, allocations: 2.007 MB / 0.9818 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/1.166, allocations: 10.69 kB / 0.9818 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.166, allocations: 7.688 kB / 0.9818 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/1.167, allocations: 414.4 kB / 0.9822 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.168, allocations: 285.5 kB / 0.9825 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.17, allocations: 1.511 MB / 0.984 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/1.173, allocations: 360.4 kB / 0.9843 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.173, allocations: 62.25 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.0008398/1.174, allocations: 466.1 kB / 0.9848 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/1.174, allocations: 244.9 kB / 0.985 GB, free: 166.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003179/1.178, allocations: 1.494 MB / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.178, allocations: 15.05 kB / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.178, allocations: 4 kB / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/1.178, allocations: 3.984 kB / 0.9865 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/1.184, allocations: 3.605 MB / 0.99 GB, free: 161.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.184, allocations: 4 kB / 0.99 GB, free: 161.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005709/1.185, allocations: 128.2 kB / 0.9902 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001306/1.186, allocations: 413.2 kB / 0.9906 GB, free: 161 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.193e-05/1.186, allocations: 27.98 kB / 0.9906 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/1.189, allocations: 1.566 MB / 0.9921 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.189, allocations: 11.92 kB / 0.9921 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/1.194, allocations: 1.939 MB / 0.994 GB, free: 157.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/1.195, allocations: 493.5 kB / 0.9945 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.196, allocations: 16 kB / 0.9945 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.197, allocations: 135.8 kB / 0.9946 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/1.198, allocations: 63.8 kB / 0.9947 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/1.198, allocations: 47.47 kB / 0.9947 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002421/1.2, allocations: 1.746 MB / 0.9965 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.11e-07/1.2, allocations: 0 / 0.9965 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001817/1.202, allocations: 0.6828 MB / 0.9971 GB, free: 154.2 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.0009923/1.203, allocations: 0.6227 MB / 0.9977 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003675/1.207, allocations: 1.344 MB / 0.999 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.207, allocations: 0 / 0.999 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.209, allocations: 0.6603 MB / 0.9997 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.00572/1.214, 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.005063/1.22, allocations: 3.57 MB / 1.004 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/1.22, allocations: 1.478 MB / 1.006 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005011/1.221, allocations: 183.4 kB / 1.006 GB, free: 145 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/1.221, allocations: 0 / 1.006 GB, free: 145 MB / 0.7169 GB Notification: Performance of Templates: time 0.05537/1.276, allocations: 62.94 MB / 1.068 GB, free: 82.46 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)