Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001238/0.001238, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00133/0.00133, allocations: 196 kB / 16.14 MB, free: 6.695 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.49/1.49, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.914/2.914, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.92 kB / 0.9113 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3394, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1293/0.4687, allocations: 131.4 MB / 1.196 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03301/0.5018, allocations: 23.31 MB / 1.219 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005133/0.5069, allocations: 115.2 kB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.5116, allocations: 1.204 MB / 1.22 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.5259, allocations: 3.775 MB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007062/0.533, allocations: 1.963 MB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.5461, allocations: 8.268 MB / 1.234 GB, free: 420 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004997/0.5512, allocations: 1.974 MB / 1.235 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006523/0.5577, allocations: 2.36 MB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/0.5619, allocations: 1.859 MB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009221/0.5628, allocations: 124 kB / 1.24 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/0.5682, allocations: 1.742 MB / 1.241 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009872/0.5692, allocations: 485.6 kB / 1.242 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.572, allocations: 1.321 MB / 1.243 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007183/0.5792, allocations: 4.234 MB / 1.247 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5793, allocations: 0 / 1.247 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5793, allocations: 0 / 1.247 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.811e-05/0.5794, allocations: 4 kB / 1.247 GB, free: 2.211 MB / 0.9981 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.6216/1.201, allocations: 3.149 MB / 1.25 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/1.201, allocations: 10.5 kB / 1.25 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/1.207, allocations: 0.8404 MB / 1.251 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005653/1.213, allocations: 2.273 MB / 1.253 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001159/1.214, allocations: 288.5 kB / 1.254 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005147/1.214, allocations: 164.6 kB / 1.254 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004835/1.219, allocations: 1.936 MB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/1.219, allocations: 8.719 kB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/1.219, allocations: 63 kB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.896e-05/1.219, allocations: 37.47 kB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005281/1.225, allocations: 1.815 MB / 1.258 GB, free: 179.7 MB / 0.9981 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.01585/1.241, allocations: 8.998 MB / 1.266 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004675/1.245, allocations: 1.204 MB / 1.268 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.247, allocations: 463 kB / 1.268 GB, free: 173 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009646/1.248, allocations: 1.722 MB / 1.27 GB, free: 171 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.248, allocations: 42.91 kB / 1.27 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.316e-06/1.248, allocations: 0 / 1.27 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009397/1.257, allocations: 2.331 MB / 1.272 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.257, allocations: 86.33 kB / 1.272 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004992/1.262, allocations: 2.488 MB / 1.275 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/1.262, allocations: 45.05 kB / 1.275 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007849/1.263, allocations: 1.039 MB / 1.276 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/1.263, allocations: 274.9 kB / 1.276 GB, free: 168 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004746/1.264, allocations: 255.6 kB / 1.276 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/1.264, allocations: 352.2 kB / 1.276 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/1.266, allocations: 0.5829 MB / 1.277 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/1.268, allocations: 0.9696 MB / 1.278 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002996/1.271, allocations: 1.257 MB / 1.279 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/1.271, allocations: 2.406 kB / 1.279 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007296/1.279, allocations: 2.042 MB / 1.281 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.279, allocations: 9.812 kB / 1.281 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.243e-05/1.279, allocations: 7.594 kB / 1.281 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/1.281, allocations: 419.9 kB / 1.282 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.282, allocations: 293.1 kB / 1.282 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/1.284, allocations: 1.498 MB / 1.283 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.288, allocations: 434.2 kB / 1.284 GB, free: 164 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002473/1.288, allocations: 68.06 kB / 1.284 GB, free: 164 MB / 0.9981 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.001009/1.289, allocations: 466.3 kB / 1.284 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007764/1.29, allocations: 243.8 kB / 1.284 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003856/1.293, allocations: 1.497 MB / 1.286 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-05/1.294, allocations: 13.3 kB / 1.286 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.294, allocations: 1.312 kB / 1.286 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/1.294, allocations: 3.797 kB / 1.286 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008271/1.302, allocations: 3.6 MB / 1.289 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.302, allocations: 3.375 kB / 1.289 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/1.303, allocations: 128.9 kB / 1.29 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/1.304, allocations: 422 kB / 1.29 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/1.304, allocations: 34.06 kB / 1.29 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/1.307, allocations: 1.57 MB / 1.292 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/1.307, allocations: 4.469 kB / 1.292 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006287/1.313, allocations: 1.934 MB / 1.293 GB, free: 158 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.315, allocations: 484.3 kB / 1.294 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008034/1.316, allocations: 23.86 kB / 1.294 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.318, allocations: 164.1 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/1.318, allocations: 62.14 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.318, allocations: 42.09 kB / 1.294 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004495/1.323, allocations: 1.744 MB / 1.296 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.323, allocations: 0 / 1.296 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005173/1.328, allocations: 0.6783 MB / 1.297 GB, free: 156.4 MB / 0.9981 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.0016/1.329, allocations: 0.5958 MB / 1.297 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004822/1.334, allocations: 1.351 MB / 1.298 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.334, allocations: 5.406 kB / 1.298 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002489/1.337, allocations: 0.6537 MB / 1.299 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008156/1.345, allocations: 1.266 MB / 1.3 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/1.353, allocations: 4.301 MB / 1.305 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.354, allocations: 1.484 MB / 1.306 GB, free: 150.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002562/1.357, allocations: 436.5 kB / 1.306 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/1.357, allocations: 169.8 kB / 1.307 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.21e-07/1.357, allocations: 0 / 1.307 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.06892/1.426, allocations: 48.35 MB / 1.354 GB, free: 104.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)