Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") 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.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001448/0.001448, allocations: 193.7 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001032, allocations: 105.6 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009625/0.0009625, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2224, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.4657/0.6881, allocations: 60.89 MB / 1.042 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01609/0.7043, allocations: 11.98 MB / 1.053 GB, free: 64.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003058/0.7074, allocations: 54.88 kB / 1.053 GB, free: 64.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.7099, allocations: 0.5528 MB / 1.054 GB, free: 64.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.006596/0.7165, allocations: 1.784 MB / 1.056 GB, free: 63.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.7202, allocations: 1.092 MB / 1.057 GB, free: 63.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007749/0.7279, allocations: 3.907 MB / 1.061 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002804/0.7308, allocations: 0.9248 MB / 1.061 GB, free: 62.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004194/0.735, allocations: 1.168 MB / 1.063 GB, free: 62.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.7374, allocations: 0.9106 MB / 1.064 GB, free: 61.66 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004045/0.7378, allocations: 57.06 kB / 1.064 GB, free: 61.66 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005345/0.7432, allocations: 1.36 MB / 1.065 GB, free: 61.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005476/0.7438, allocations: 235.1 kB / 1.065 GB, free: 61.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.7456, allocations: 0.6469 MB / 1.066 GB, free: 60.7 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.75, allocations: 2.259 MB / 1.068 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.75, allocations: 0 / 1.068 GB, free: 59.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.75, allocations: 3.938 kB / 1.068 GB, free: 59.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.334e-05/0.75, allocations: 0 / 1.068 GB, free: 59.85 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003354/0.7534, allocations: 1.731 MB / 1.07 GB, free: 58.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.7535, allocations: 9.875 kB / 1.07 GB, free: 58.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.7559, allocations: 408.1 kB / 1.07 GB, free: 58.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/0.7581, allocations: 1.138 MB / 1.071 GB, free: 57.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.7585, allocations: 118.3 kB / 1.071 GB, free: 57.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.7587, allocations: 80.66 kB / 1.071 GB, free: 57.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.7605, allocations: 0.9807 MB / 1.072 GB, free: 57.38 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.7606, allocations: 7.125 kB / 1.072 GB, free: 57.37 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.02e-05/0.7606, allocations: 30.66 kB / 1.072 GB, free: 57.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.7607, allocations: 23.16 kB / 1.072 GB, free: 57.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.7628, allocations: 0.8798 MB / 1.073 GB, free: 57.05 MB / 0.7448 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.005258/0.7681, allocations: 4.586 MB / 1.078 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.7714, allocations: 0.8448 MB / 1.079 GB, free: 53.49 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/0.7722, allocations: 324.4 kB / 1.079 GB, free: 53.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.7727, allocations: 0.9043 MB / 1.08 GB, free: 52.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.7728, allocations: 42.22 kB / 1.08 GB, free: 52.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=48): time 3.025e-06/0.7728, allocations: 0 / 1.08 GB, free: 52.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.008676/0.7814, allocations: 1.975 MB / 1.082 GB, free: 51.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.7815, allocations: 62.22 kB / 1.082 GB, free: 51.71 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/0.7838, allocations: 1.051 MB / 1.083 GB, free: 51.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.784, allocations: 36.61 kB / 1.083 GB, free: 51.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004173/0.7844, allocations: 0.5164 MB / 1.083 GB, free: 50.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.7846, allocations: 168.8 kB / 1.083 GB, free: 50.7 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000268/0.7848, allocations: 138.2 kB / 1.084 GB, free: 50.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.753e-05/0.7849, allocations: 326.7 kB / 1.084 GB, free: 50.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008765/0.7858, allocations: 321.6 kB / 1.084 GB, free: 50.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.7868, allocations: 0.5084 MB / 1.085 GB, free: 49.9 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.7884, allocations: 0.6882 MB / 1.085 GB, free: 49.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.7885, allocations: 3.25 kB / 1.085 GB, free: 49.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003691/0.7922, allocations: 1.159 MB / 1.087 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7922, allocations: 7.719 kB / 1.087 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.7922, allocations: 6 kB / 1.087 GB, free: 49.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.7935, allocations: 322.2 kB / 1.087 GB, free: 49.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.794, allocations: 128.5 kB / 1.087 GB, free: 49.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.7955, allocations: 0.9122 MB / 1.088 GB, free: 48.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.7969, allocations: 176 kB / 1.088 GB, free: 48.35 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.033e-05/0.797, allocations: 32.23 kB / 1.088 GB, free: 48.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001199/0.7982, allocations: 0.5165 MB / 1.089 GB, free: 48.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.7992, allocations: 0.5096 MB / 1.089 GB, free: 47.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00156/0.8008, allocations: 0.6917 MB / 1.09 GB, free: 47.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.979e-06/0.8008, allocations: 0.8594 kB / 1.09 GB, free: 47.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003502/0.8043, allocations: 1.14 MB / 1.091 GB, free: 47.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.8043, allocations: 6.688 kB / 1.091 GB, free: 47.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8044, allocations: 7.312 kB / 1.091 GB, free: 47.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001088/0.8055, allocations: 307.7 kB / 1.091 GB, free: 46.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.806, allocations: 124.2 kB / 1.091 GB, free: 46.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001356/0.8074, allocations: 0.9092 MB / 1.092 GB, free: 46.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.8088, allocations: 165.9 kB / 1.092 GB, free: 46.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.8089, allocations: 32.27 kB / 1.092 GB, free: 46.25 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0002056/0.8091, allocations: 216.1 kB / 1.093 GB, free: 46.04 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/0.8094, allocations: 111.5 kB / 1.093 GB, free: 45.98 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.8132, allocations: 1.163 MB / 1.094 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.8132, allocations: 6.641 kB / 1.094 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.8132, allocations: 3.25 kB / 1.094 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.8133, allocations: 0 / 1.094 GB, free: 45.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005368/0.8186, allocations: 2.245 MB / 1.096 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.8187, allocations: 3.031 kB / 1.096 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.819, allocations: 71.69 kB / 1.096 GB, free: 44.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.8201, allocations: 309.3 kB / 1.096 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/0.8201, allocations: 22.36 kB / 1.096 GB, free: 44.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.8215, allocations: 0.9493 MB / 1.097 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8215, allocations: 3.344 kB / 1.097 GB, free: 43.8 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005076/0.8266, allocations: 2.343 MB / 1.1 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/0.8272, allocations: 268.2 kB / 1.1 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.8275, allocations: 14.66 kB / 1.1 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.8285, allocations: 101.1 kB / 1.1 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.601e-05/0.8286, allocations: 40.62 kB / 1.1 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-05/0.8287, allocations: 27.05 kB / 1.1 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001217/0.8299, allocations: 0.7431 MB / 1.101 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.61e-07/0.8299, allocations: 0 / 1.101 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002212/0.8322, allocations: 0.5797 MB / 1.101 GB, free: 41.75 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008976/0.8331, allocations: 383.2 kB / 1.102 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003188/0.8363, allocations: 1.146 MB / 1.103 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.8363, allocations: 0 / 1.103 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0009002/0.8372, allocations: 381.5 kB / 1.103 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/0.8401, allocations: 0.5141 MB / 1.104 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006004/0.8462, allocations: 2.781 MB / 1.106 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000605/0.8468, allocations: 1.077 MB / 1.107 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001174/0.848, allocations: 239.4 kB / 1.108 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.8482, allocations: 81.38 kB / 1.108 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of SimCode: time 1.352e-06/0.8482, allocations: 4 kB / 1.108 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.03785/0.8861, allocations: 25.27 MB / 1.132 GB, free: 36.38 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)