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.001524/0.001524, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001233/0.001233, allocations: 186.2 kB / 16.25 MB, free: 6.625 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.57/1.57, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.82/1.82, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001404/0.001404, allocations: 66.34 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2405, allocations: 114.6 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1228/0.3633, allocations: 131.1 MB / 0.9108 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6643/1.028, allocations: 22.85 MB / 0.9332 GB, free: 44.15 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008764/1.037, allocations: 111.7 kB / 0.9333 GB, free: 44.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006916/1.044, allocations: 1.286 MB / 0.9345 GB, free: 44.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01629/1.06, allocations: 3.783 MB / 0.9382 GB, free: 43.97 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006998/1.067, allocations: 2.013 MB / 0.9402 GB, free: 43.93 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01229/1.079, allocations: 6.537 MB / 0.9466 GB, free: 43.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005452/1.085, allocations: 2.339 MB / 0.9488 GB, free: 43.62 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01042/1.095, allocations: 2.771 MB / 0.9516 GB, free: 43.44 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006205/1.101, allocations: 1.934 MB / 0.9534 GB, free: 43.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001273/1.103, allocations: 251.4 kB / 0.9537 GB, free: 43.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008827/1.112, allocations: 1.966 MB / 0.9556 GB, free: 42.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001752/1.113, allocations: 0.602 MB / 0.9562 GB, free: 42.86 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005684/1.119, allocations: 1.463 MB / 0.9576 GB, free: 42.43 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/1.13, allocations: 4.364 MB / 0.9619 GB, free: 41.83 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.13, allocations: 1.594 kB / 0.9619 GB, free: 41.83 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/1.13, allocations: 0 / 0.9619 GB, free: 41.83 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.000102/1.131, allocations: 0 / 0.9619 GB, free: 41.83 MB / 0.7325 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.008084/1.139, allocations: 3.186 MB / 0.965 GB, free: 40.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.139, allocations: 9 kB / 0.965 GB, free: 40.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004916/1.144, allocations: 0.8429 MB / 0.9658 GB, free: 40.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00587/1.15, allocations: 2.286 MB / 0.9681 GB, free: 39.48 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009835/1.151, allocations: 296.4 kB / 0.9683 GB, free: 39.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/1.151, allocations: 165.6 kB / 0.9685 GB, free: 39.45 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004565/1.156, allocations: 1.939 MB / 0.9704 GB, free: 38.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/1.156, allocations: 6.875 kB / 0.9704 GB, free: 38.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/1.156, allocations: 59.94 kB / 0.9705 GB, free: 38.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/1.156, allocations: 38.91 kB / 0.9705 GB, free: 38.83 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/1.16, allocations: 1.816 MB / 0.9723 GB, free: 38.22 MB / 0.7325 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.01373/1.174, allocations: 9.03 MB / 0.9811 GB, free: 31.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/1.178, allocations: 1.185 MB / 0.9822 GB, free: 31.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00098/1.179, allocations: 465 kB / 0.9827 GB, free: 30.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008376/1.18, allocations: 1.723 MB / 0.9844 GB, free: 28.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.18, allocations: 37.12 kB / 0.9844 GB, free: 28.81 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 4.187e-06/1.18, allocations: 0 / 0.9844 GB, free: 28.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.009569/1.19, allocations: 2.332 MB / 0.9867 GB, free: 27.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/1.19, allocations: 85.64 kB / 0.9868 GB, free: 27.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/1.195, allocations: 2.499 MB / 0.9892 GB, free: 26.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003004/1.195, allocations: 45.45 kB / 0.9892 GB, free: 26.08 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008023/1.196, allocations: 1.051 MB / 0.9903 GB, free: 25.15 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003206/1.196, allocations: 264.7 kB / 0.9905 GB, free: 24.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/1.197, allocations: 256.4 kB / 0.9908 GB, free: 24.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/1.197, allocations: 348.2 kB / 0.9911 GB, free: 24.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.198, allocations: 0.5812 MB / 0.9917 GB, free: 24.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/1.2, allocations: 0.9769 MB / 0.9926 GB, free: 23.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/1.203, allocations: 1.263 MB / 0.9939 GB, free: 22.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.203, allocations: 6.188 kB / 0.9939 GB, free: 22.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007614/1.211, allocations: 2.046 MB / 0.9959 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.314e-05/1.211, allocations: 8.25 kB / 0.9959 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/1.211, allocations: 8.812 kB / 0.9959 GB, free: 21.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/1.213, allocations: 424.5 kB / 0.9963 GB, free: 21.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.215, allocations: 287.3 kB / 0.9966 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/1.217, allocations: 1.507 MB / 0.998 GB, free: 20 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/1.221, allocations: 440.2 kB / 0.9984 GB, free: 19.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/1.221, allocations: 60.88 kB / 0.9985 GB, free: 19.76 MB / 0.7325 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.001325/1.223, allocations: 460 kB / 0.9989 GB, free: 19.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/1.224, allocations: 251.2 kB / 0.9992 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/1.228, allocations: 1.5 MB / 1.001 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.987e-05/1.228, allocations: 13.83 kB / 1.001 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/1.228, allocations: 5.875 kB / 1.001 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/1.228, allocations: 3.984 kB / 1.001 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008772/1.237, allocations: 3.587 MB / 1.004 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.237, allocations: 7.094 kB / 1.004 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/1.238, allocations: 131.9 kB / 1.004 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/1.239, allocations: 418.1 kB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.177e-05/1.239, allocations: 26.7 kB / 1.005 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.242, allocations: 1.58 MB / 1.006 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.248e-06/1.242, allocations: 9.094 kB / 1.006 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/1.248, allocations: 1.925 MB / 1.008 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001557/1.25, allocations: 485.6 kB / 1.009 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.25, allocations: 23.84 kB / 1.009 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.252, allocations: 167.8 kB / 1.009 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.857e-05/1.252, allocations: 59.86 kB / 1.009 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/1.252, allocations: 47.91 kB / 1.009 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002809/1.255, allocations: 1.75 MB / 1.011 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.11e-07/1.255, allocations: 0 / 1.011 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002908/1.258, allocations: 0.6827 MB / 1.011 GB, free: 9.926 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.001284/1.259, allocations: 0.5943 MB / 1.012 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004171/1.263, allocations: 1.402 MB / 1.013 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/1.263, allocations: 0 / 1.013 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/1.265, allocations: 0.6692 MB / 1.014 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007802/1.273, allocations: 1.359 MB / 1.015 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00705/1.28, allocations: 4.296 MB / 1.019 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/1.281, allocations: 1.486 MB / 1.021 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00228/1.283, allocations: 444.5 kB / 1.021 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/1.284, allocations: 171.3 kB / 1.021 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of SimCode: time 1.062e-06/1.284, allocations: 0 / 1.021 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of Templates: time 0.09037/1.374, allocations: 50.68 MB / 1.071 GB, free: 13.69 MB / 0.795 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)