Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001097/0.001097, allocations: 103.6 kB / 16.27 MB, free: 6.418 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.001133/0.001133, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.825/1.825, allocations: 292.3 MB / 0.5495 GB, free: 17.63 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.001421/0.001421, allocations: 71.89 kB / 0.6721 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2177, allocations: 114.6 MB / 0.784 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4869/0.7047, allocations: 132.2 MB / 0.9132 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03235/0.737, allocations: 23.03 MB / 0.9356 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.7427, allocations: 123.2 kB / 0.9358 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004605/0.7473, allocations: 1.502 MB / 0.9372 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.7586, allocations: 4.05 MB / 0.9412 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005723/0.7644, allocations: 2.18 MB / 0.9433 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00918/0.7735, allocations: 6.474 MB / 0.9496 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003896/0.7775, allocations: 2.359 MB / 0.9519 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00718/0.7847, allocations: 2.767 MB / 0.9546 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.7879, allocations: 1.878 MB / 0.9565 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005139/0.7884, allocations: 248 kB / 0.9567 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/0.7928, allocations: 1.934 MB / 0.9586 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000633/0.7935, allocations: 0.6031 MB / 0.9592 GB, free: 7.32 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.7954, allocations: 1.458 MB / 0.9606 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.802, allocations: 4.351 MB / 0.9649 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.802, allocations: 0 / 0.9649 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.623e-06/0.802, allocations: 0 / 0.9649 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.867e-05/0.8021, allocations: 0 / 0.9649 GB, free: 1.492 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.005646/0.8077, allocations: 3.191 MB / 0.968 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.8078, allocations: 12.03 kB / 0.968 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.8123, allocations: 0.8357 MB / 0.9688 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004763/0.8171, allocations: 2.229 MB / 0.971 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009836/0.8181, allocations: 294.8 kB / 0.9713 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003298/0.8184, allocations: 164 kB / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/0.8225, allocations: 1.93 MB / 0.9733 GB, free: 8.613 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.8226, allocations: 7.875 kB / 0.9733 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.8227, allocations: 64 kB / 0.9734 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.8227, allocations: 39.98 kB / 0.9734 GB, free: 8.504 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.8274, allocations: 1.815 MB / 0.9752 GB, free: 6.688 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.01293/0.8404, allocations: 9.072 MB / 0.984 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004271/0.8447, allocations: 1.181 MB / 0.9852 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.8458, allocations: 469.4 kB / 0.9856 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/0.8472, allocations: 1.714 MB / 0.9873 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.8473, allocations: 55.36 kB / 0.9874 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/0.8473, allocations: 0 / 0.9874 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=76): time 0.009143/0.8565, allocations: 2.325 MB / 0.9896 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.8565, allocations: 85.11 kB / 0.9897 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004351/0.8609, allocations: 2.52 MB / 0.9922 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002356/0.8612, allocations: 45.7 kB / 0.9922 GB, free: 4.133 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009556/0.8621, allocations: 1.041 MB / 0.9932 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.8625, allocations: 268.2 kB / 0.9935 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.8629, allocations: 258.6 kB / 0.9937 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8631, allocations: 349.9 kB / 0.9941 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.8649, allocations: 0.5881 MB / 0.9947 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.8671, allocations: 0.9699 MB / 0.9956 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.8704, allocations: 1.256 MB / 0.9968 GB, free: 15.13 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.8704, allocations: 0 / 0.9968 GB, free: 15.13 MB / 0.795 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007121/0.8775, allocations: 2.06 MB / 0.9988 GB, free: 13.06 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.8776, allocations: 8 kB / 0.9988 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.8776, allocations: 8 kB / 0.9989 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.8793, allocations: 428.2 kB / 0.9993 GB, free: 12.62 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.8807, allocations: 291.4 kB / 0.9995 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.883, allocations: 1.507 MB / 1.001 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/0.8862, allocations: 390.7 kB / 1.001 GB, free: 10.4 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.8864, allocations: 71.95 kB / 1.001 GB, free: 10.33 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 (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.001131/0.8876, allocations: 462.5 kB / 1.002 GB, free: 9.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/0.8883, allocations: 248.9 kB / 1.002 GB, free: 9.625 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.8922, allocations: 1.491 MB / 1.004 GB, free: 8.125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.941e-05/0.8922, allocations: 12 kB / 1.004 GB, free: 8.113 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.8922, allocations: 0 / 1.004 GB, free: 8.113 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.8922, allocations: 7.969 kB / 1.004 GB, free: 8.105 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008351/0.9006, allocations: 3.611 MB / 1.007 GB, free: 4.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.9007, allocations: 4 kB / 1.007 GB, free: 4.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006209/0.9013, allocations: 136.1 kB / 1.007 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.9028, allocations: 417.2 kB / 1.008 GB, free: 3.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.9029, allocations: 23.98 kB / 1.008 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002755/0.9057, allocations: 1.58 MB / 1.009 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.9057, allocations: 4 kB / 1.009 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006464/0.9122, allocations: 1.929 MB / 1.011 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.9138, allocations: 485.8 kB / 1.012 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004673/0.9143, allocations: 23.94 kB / 1.012 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.9161, allocations: 143.8 kB / 1.012 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.9162, allocations: 55.86 kB / 1.012 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/0.9163, allocations: 43.97 kB / 1.012 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003302/0.9196, allocations: 1.769 MB / 1.014 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9196, allocations: 0 / 1.014 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002329/0.922, allocations: 0.6905 MB / 1.014 GB, free: 12.96 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 (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.001209/0.9232, allocations: 0.6065 MB / 1.015 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004598/0.9278, allocations: 1.408 MB / 1.016 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.9278, allocations: 0 / 1.016 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.9303, allocations: 0.6766 MB / 1.017 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006652/0.937, allocations: 1.358 MB / 1.018 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006717/0.9438, allocations: 3.622 MB / 1.022 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.9448, allocations: 1.482 MB / 1.023 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007281/0.9456, allocations: 187.4 kB / 1.023 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of SimCode: time 1.252e-06/0.9456, allocations: 3.938 kB / 1.023 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.08007/1.026, allocations: 62.6 MB / 1.084 GB, free: 5.363 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)