Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001106/0.001106, allocations: 104.8 kB / 16.27 MB, free: 5.977 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.001326/0.001326, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.3 MB / 0.5495 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 71.02 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2232, allocations: 114.6 MB / 0.784 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4788/0.702, allocations: 132.3 MB / 0.9132 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03858/0.7407, allocations: 23.02 MB / 0.9357 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006926/0.7476, allocations: 123.2 kB / 0.9358 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005565/0.7533, allocations: 1.498 MB / 0.9372 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.767, allocations: 4.054 MB / 0.9412 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006911/0.774, allocations: 2.184 MB / 0.9433 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01089/0.7849, allocations: 6.483 MB / 0.9497 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004179/0.7891, allocations: 2.365 MB / 0.952 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007603/0.7967, allocations: 2.76 MB / 0.9547 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.8005, allocations: 1.882 MB / 0.9565 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0008555/0.8014, allocations: 248 kB / 0.9568 GB, free: 9.859 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005869/0.8072, allocations: 1.934 MB / 0.9586 GB, free: 7.922 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.8085, allocations: 0.5992 MB / 0.9592 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003075/0.8116, allocations: 1.47 MB / 0.9607 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.8226, allocations: 4.351 MB / 0.9649 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.8227, allocations: 0 / 0.9649 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8227, allocations: 0 / 0.9649 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.994e-05/0.8228, allocations: 4 kB / 0.9649 GB, free: 1.477 MB / 0.7481 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.007126/0.8299, allocations: 3.192 MB / 0.968 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.83, allocations: 8.031 kB / 0.968 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/0.8347, allocations: 0.8409 MB / 0.9689 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004988/0.8397, allocations: 2.206 MB / 0.971 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009999/0.8408, allocations: 294.8 kB / 0.9713 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004471/0.8412, allocations: 160 kB / 0.9714 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.8456, allocations: 1.938 MB / 0.9733 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.8456, allocations: 7.938 kB / 0.9733 GB, free: 8.609 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.8458, allocations: 63.94 kB / 0.9734 GB, free: 8.547 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.8458, allocations: 44 kB / 0.9734 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/0.8507, allocations: 1.819 MB / 0.9752 GB, free: 6.684 MB / 0.7637 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.01392/0.8646, allocations: 9.1 MB / 0.9841 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.869, allocations: 1.187 MB / 0.9853 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.8702, allocations: 465.3 kB / 0.9857 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001283/0.8715, allocations: 1.723 MB / 0.9874 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.8715, allocations: 50.53 kB / 0.9874 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 3.005e-06/0.8715, allocations: 0 / 0.9874 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.008669/0.8802, allocations: 2.337 MB / 0.9897 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.8803, allocations: 85.11 kB / 0.9898 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.8845, allocations: 2.54 MB / 0.9923 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001621/0.8847, allocations: 45.7 kB / 0.9923 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008999/0.8856, allocations: 1.049 MB / 0.9934 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.8859, allocations: 276.1 kB / 0.9936 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.8863, allocations: 262.6 kB / 0.9939 GB, free: 2.465 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.8865, allocations: 353.9 kB / 0.9942 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.8883, allocations: 0.5842 MB / 0.9948 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.8904, allocations: 0.9705 MB / 0.9957 GB, free: 416 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003053/0.8934, allocations: 1.26 MB / 0.997 GB, free: 15.04 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.8935, allocations: 0 / 0.997 GB, free: 15.04 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006774/0.9002, allocations: 2.049 MB / 0.999 GB, free: 12.97 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.9003, allocations: 12 kB / 0.999 GB, free: 12.96 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.9003, allocations: 12.06 kB / 0.999 GB, free: 12.95 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001808/0.9021, allocations: 491.6 kB / 0.9995 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.9035, allocations: 283.6 kB / 0.9997 GB, free: 12.19 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.9058, allocations: 1.522 MB / 1.001 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/0.9089, allocations: 398.8 kB / 1.002 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.9091, allocations: 59.97 kB / 1.002 GB, free: 10.17 MB / 0.795 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.0009372/0.9101, allocations: 462.5 kB / 1.002 GB, free: 9.707 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000596/0.9107, allocations: 252.8 kB / 1.002 GB, free: 9.457 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.9144, allocations: 1.505 MB / 1.004 GB, free: 7.957 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.9144, allocations: 12 kB / 1.004 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.9145, allocations: 96 / 1.004 GB, free: 7.945 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.9145, allocations: 11.86 kB / 1.004 GB, free: 7.934 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007736/0.9222, allocations: 3.623 MB / 1.007 GB, free: 4.203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.9223, allocations: 4 kB / 1.007 GB, free: 4.199 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.9229, allocations: 132.2 kB / 1.007 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.9246, allocations: 493.1 kB / 1.008 GB, free: 3.582 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.9247, allocations: 23.98 kB / 1.008 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/0.9274, allocations: 1.586 MB / 1.01 GB, free: 1.922 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.9275, allocations: 4 kB / 1.01 GB, free: 1.918 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/0.9339, allocations: 1.941 MB / 1.011 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/0.9353, allocations: 493.6 kB / 1.012 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000449/0.9358, allocations: 20.41 kB / 1.012 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001829/0.9376, allocations: 147.8 kB / 1.012 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.9378, allocations: 59.8 kB / 1.012 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.9379, allocations: 44.66 kB / 1.012 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00333/0.9412, allocations: 1.793 MB / 1.014 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9412, allocations: 0 / 1.014 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002639/0.9439, allocations: 0.6867 MB / 1.015 GB, free: 12.66 MB / 0.8106 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.001361/0.9453, allocations: 0.6145 MB / 1.015 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004705/0.95, allocations: 1.397 MB / 1.017 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.95, allocations: 4 kB / 1.017 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.9525, allocations: 0.6787 MB / 1.017 GB, free: 9.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006925/0.9594, allocations: 1.363 MB / 1.019 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006898/0.9664, allocations: 3.648 MB / 1.022 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.9677, allocations: 1.486 MB / 1.024 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007419/0.9684, allocations: 179.4 kB / 1.024 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of SimCode: time 8.52e-07/0.9684, allocations: 4 kB / 1.024 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of Templates: time 0.0834/1.052, allocations: 62.77 MB / 1.085 GB, free: 4.867 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)