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.001064/0.001064, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 195.9 kB / 16.64 MB, free: 6.453 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.793/1.793, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.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.803/1.803, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001476/0.001476, allocations: 65.84 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2719, allocations: 114.6 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.7794/1.051, allocations: 132.2 MB / 0.9133 GB, free: 45.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03695/1.088, allocations: 23.03 MB / 0.9357 GB, free: 44.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007533/1.096, allocations: 119.5 kB / 0.9359 GB, free: 44.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0059/1.102, allocations: 1.498 MB / 0.9373 GB, free: 44.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01591/1.118, allocations: 4.059 MB / 0.9413 GB, free: 44.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007684/1.126, allocations: 2.194 MB / 0.9434 GB, free: 44.61 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01676/1.142, allocations: 6.503 MB / 0.9498 GB, free: 42.35 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005729/1.148, allocations: 2.361 MB / 0.9521 GB, free: 41.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/1.159, allocations: 2.782 MB / 0.9548 GB, free: 40.05 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005961/1.165, allocations: 1.878 MB / 0.9566 GB, free: 39.3 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001671/1.167, allocations: 252.2 kB / 0.9569 GB, free: 39.3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008215/1.175, allocations: 1.935 MB / 0.9588 GB, free: 38.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001601/1.177, allocations: 0.5955 MB / 0.9593 GB, free: 38.31 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004734/1.182, allocations: 1.462 MB / 0.9608 GB, free: 37.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/1.194, allocations: 4.385 MB / 0.965 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.194, allocations: 2.625 kB / 0.9651 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/1.194, allocations: 0 / 0.9651 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002125/1.194, allocations: 0 / 0.9651 GB, free: 35.91 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.008697/1.203, allocations: 3.19 MB / 0.9682 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.203, allocations: 10.69 kB / 0.9682 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/1.207, allocations: 0.8426 MB / 0.969 GB, free: 33.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/1.212, allocations: 2.331 MB / 0.9713 GB, free: 31.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/1.212, allocations: 127.8 kB / 0.9714 GB, free: 31.5 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002519/1.213, allocations: 164.6 kB / 0.9716 GB, free: 31.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004035/1.217, allocations: 1.926 MB / 0.9734 GB, free: 30.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/1.217, allocations: 0 / 0.9734 GB, free: 30.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.217, allocations: 66.09 kB / 0.9735 GB, free: 30.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/1.217, allocations: 46.09 kB / 0.9735 GB, free: 30.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004265/1.221, allocations: 1.782 MB / 0.9753 GB, free: 29.32 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.01202/1.233, allocations: 8.98 MB / 0.9841 GB, free: 21.61 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00386/1.237, allocations: 1.192 MB / 0.9852 GB, free: 21 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009427/1.238, allocations: 456.7 kB / 0.9857 GB, free: 20.78 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/1.239, allocations: 1.721 MB / 0.9873 GB, free: 18.76 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.239, allocations: 41.41 kB / 0.9874 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/1.239, allocations: 4 kB / 0.9874 GB, free: 18.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008325/1.247, allocations: 2.329 MB / 0.9896 GB, free: 17.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/1.247, allocations: 85.52 kB / 0.9897 GB, free: 17.35 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004221/1.252, allocations: 2.507 MB / 0.9922 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002255/1.252, allocations: 49.45 kB / 0.9922 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006647/1.253, allocations: 1.039 MB / 0.9932 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/1.253, allocations: 269 kB / 0.9935 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/1.253, allocations: 264.1 kB / 0.9937 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.866e-05/1.253, allocations: 344.5 kB / 0.9941 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/1.255, allocations: 0.5712 MB / 0.9946 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/1.257, allocations: 0.9577 MB / 0.9956 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/1.26, allocations: 1.249 MB / 0.9968 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/1.26, allocations: 2.75 kB / 0.9968 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006031/1.266, allocations: 2.015 MB / 0.9988 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.266, allocations: 12.62 kB / 0.9988 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.266, allocations: 8 kB / 0.9988 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.267, allocations: 425.2 kB / 0.9992 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.268, allocations: 283.6 kB / 0.9995 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/1.27, allocations: 1.496 MB / 1.001 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/1.273, allocations: 373.9 kB / 1.001 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/1.273, allocations: 59.97 kB / 1.001 GB, free: 8.152 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.0008/1.274, allocations: 458.1 kB / 1.002 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/1.275, allocations: 252.8 kB / 1.002 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003053/1.278, allocations: 1.49 MB / 1.003 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.278, allocations: 19.94 kB / 1.003 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.278, allocations: 4 kB / 1.003 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/1.278, allocations: 3.984 kB / 1.003 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006537/1.284, allocations: 3.614 MB / 1.007 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.284, allocations: 0 / 1.007 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/1.285, allocations: 128.1 kB / 1.007 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/1.286, allocations: 428.4 kB / 1.008 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/1.286, allocations: 19.98 kB / 1.008 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/1.288, allocations: 1.579 MB / 1.009 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/1.288, allocations: 4.062 kB / 1.009 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006404/1.295, allocations: 1.935 MB / 1.011 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.296, allocations: 489.6 kB / 1.011 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/1.297, allocations: 20 kB / 1.011 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/1.299, allocations: 139.8 kB / 1.012 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/1.299, allocations: 51.88 kB / 1.012 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.299, allocations: 47.89 kB / 1.012 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003176/1.302, allocations: 1.758 MB / 1.013 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.302, allocations: 0 / 1.013 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002902/1.305, allocations: 0.6905 MB / 1.014 GB, free: 10.82 MB / 0.7325 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.001713/1.307, allocations: 0.5959 MB / 1.015 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004323/1.311, allocations: 1.357 MB / 1.016 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/1.311, allocations: 96 / 1.016 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/1.313, allocations: 0.6692 MB / 1.017 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006908/1.32, allocations: 1.346 MB / 1.018 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/1.326, allocations: 3.544 MB / 1.021 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/1.327, allocations: 1.488 MB / 1.023 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001983/1.329, allocations: 431.3 kB / 1.023 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/1.33, allocations: 175.4 kB / 1.023 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of SimCode: time 1.011e-06/1.33, allocations: 0 / 1.023 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of Templates: time 0.07879/1.409, allocations: 48.62 MB / 1.071 GB, free: 1.355 MB / 0.7794 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)