Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000895/0.0008948, allocations: 92.8 kB / 16.02 MB, free: 84 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.001112/0.001113, allocations: 176.5 kB / 16.92 MB, free: 6.684 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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6917/0.6917, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 9.25 kB / 495.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1846, allocations: 77.52 MB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.3906/0.5752, allocations: 59.71 MB / 0.6182 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02112/0.5964, allocations: 11.93 MB / 0.6299 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.5996, allocations: 53.19 kB / 0.6299 GB, free: 7.176 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.6016, allocations: 0.5446 MB / 0.6305 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006683/0.6083, allocations: 1.8 MB / 0.6322 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.6117, allocations: 1.085 MB / 0.6333 GB, free: 5.105 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006109/0.6178, allocations: 3.904 MB / 0.6371 GB, free: 2.922 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.6195, allocations: 0.9287 MB / 0.638 GB, free: 2.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.6226, allocations: 1.113 MB / 0.6391 GB, free: 1.684 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.6244, allocations: 0.8695 MB / 0.6399 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.6245, allocations: 41.97 kB / 0.64 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004363/0.6289, allocations: 1.328 MB / 0.6413 GB, free: 432 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004159/0.6293, allocations: 215.7 kB / 0.6415 GB, free: 268 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.6307, allocations: 0.6281 MB / 0.6421 GB, free: 15.85 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.6368, allocations: 2.208 MB / 0.6443 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.6368, allocations: 0 / 0.6443 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6368, allocations: 3.938 kB / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.82e-05/0.6369, allocations: 4 kB / 0.6443 GB, free: 14.4 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004887/0.6418, allocations: 1.499 MB / 0.6457 GB, free: 13.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.6419, allocations: 10.78 kB / 0.6457 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/0.6457, allocations: 0.5123 MB / 0.6462 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.6494, allocations: 1.136 MB / 0.6473 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005644/0.65, allocations: 130.7 kB / 0.6475 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.6502, allocations: 79.69 kB / 0.6475 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003978/0.6542, allocations: 1.043 MB / 0.6486 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.6543, allocations: 0 / 0.6486 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.6544, allocations: 30.41 kB / 0.6486 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.6545, allocations: 21.12 kB / 0.6486 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/0.6595, allocations: 1.009 MB / 0.6496 GB, free: 10.84 MB / 478.1 MB 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.01249/0.6721, allocations: 4.728 MB / 0.6542 GB, free: 5.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007812/0.6799, allocations: 1.122 MB / 0.6553 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.6822, allocations: 441.9 kB / 0.6557 GB, free: 4.191 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001779/0.684, allocations: 1.033 MB / 0.6567 GB, free: 2.938 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.6841, allocations: 39 kB / 0.6568 GB, free: 2.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 4.578e-06/0.6841, allocations: 3.938 kB / 0.6568 GB, free: 2.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=53): time 0.01589/0.7, allocations: 2.494 MB / 0.6592 GB, free: 376 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.7001, allocations: 71.78 kB / 0.6593 GB, free: 292 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.7015, allocations: 0.9276 MB / 0.6602 GB, free: 15.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/0.7016, allocations: 37.7 kB / 0.6602 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.702, allocations: 0.5079 MB / 0.6607 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.7022, allocations: 177.4 kB / 0.6609 GB, free: 14.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.7023, allocations: 45.7 kB / 0.6609 GB, free: 14.56 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7024, allocations: 341.9 kB / 0.6613 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.7035, allocations: 384.9 kB / 0.6616 GB, free: 13.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.7047, allocations: 0.5429 MB / 0.6622 GB, free: 13.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.7069, allocations: 0.8243 MB / 0.663 GB, free: 12.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7069, allocations: 0 / 0.663 GB, free: 12.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003155/0.7101, allocations: 1.15 MB / 0.6641 GB, free: 11.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.7102, allocations: 160.4 kB / 0.6642 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.7102, allocations: 4 kB / 0.6642 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.7116, allocations: 324.6 kB / 0.6646 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/0.7123, allocations: 147.8 kB / 0.6647 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.7138, allocations: 0.9309 MB / 0.6656 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.7151, allocations: 171.4 kB / 0.6658 GB, free: 9.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.982e-05/0.7152, allocations: 27.98 kB / 0.6658 GB, free: 9.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.7152, allocations: 10.97 kB / 0.6658 GB, free: 9.402 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002828/0.718, allocations: 1.009 MB / 0.6668 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7181, allocations: 8.031 kB / 0.6668 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.7193, allocations: 318.1 kB / 0.6671 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/0.72, allocations: 143.8 kB / 0.6672 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.7215, allocations: 0.9398 MB / 0.6682 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7229, allocations: 167.4 kB / 0.6683 GB, free: 6.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.72e-05/0.723, allocations: 27.98 kB / 0.6683 GB, free: 6.77 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005762/0.7236, allocations: 350.5 kB / 0.6687 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.7239, allocations: 110.7 kB / 0.6688 GB, free: 6.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005025/0.7289, allocations: 1.448 MB / 0.6702 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.7289, allocations: 4 kB / 0.6702 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7289, allocations: 0 / 0.6702 GB, free: 4.863 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.729, allocations: 3.984 kB / 0.6702 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006536/0.7355, allocations: 2.537 MB / 0.6727 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.7355, allocations: 8 kB / 0.6727 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.7361, allocations: 116 kB / 0.6728 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001114/0.7373, allocations: 320.6 kB / 0.6731 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/0.7373, allocations: 23.92 kB / 0.6731 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/0.7389, allocations: 0.9659 MB / 0.6741 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7389, allocations: 3.938 kB / 0.6741 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.7436, allocations: 1.464 MB / 0.6755 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006668/0.7443, allocations: 283.5 kB / 0.6758 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.7445, allocations: 16 kB / 0.6758 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.7456, allocations: 127.8 kB / 0.6759 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.7457, allocations: 40.27 kB / 0.676 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.7458, allocations: 23.98 kB / 0.676 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001044/0.7468, allocations: 0.6596 MB / 0.6766 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7468, allocations: 0 / 0.6766 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001693/0.7485, allocations: 0.5692 MB / 0.6772 GB, free: 13.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009002/0.7494, allocations: 381 kB / 0.6775 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004036/0.7535, allocations: 1.401 MB / 0.6789 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7535, allocations: 0 / 0.6789 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/0.7548, allocations: 492.8 kB / 0.6794 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.7577, allocations: 498.3 kB / 0.6799 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.7621, allocations: 2.366 MB / 0.6822 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.7628, allocations: 1.066 MB / 0.6832 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001132/0.7639, allocations: 244.3 kB / 0.6834 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.7642, allocations: 79.42 kB / 0.6835 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.7642, allocations: 0 / 0.6835 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.04234/0.8065, allocations: 23.63 MB / 0.7066 GB, free: 15.62 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)