Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 112.1 kB / 17.33 MB, free: 5.043 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.001322/0.001322, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.487/1.487, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.906/0.906, allocations: 128.4 MB / 426.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 68.34 kB / 0.5912 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1865, allocations: 83.25 MB / 0.6725 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07592/0.2624, allocations: 61.7 MB / 0.7327 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01913/0.2816, allocations: 12.01 MB / 0.7444 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.2843, allocations: 55.69 kB / 0.7445 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.2865, allocations: 0.7064 MB / 0.7452 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006582/0.293, allocations: 2.068 MB / 0.7472 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003494/0.2965, allocations: 1.214 MB / 0.7484 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005275/0.3018, allocations: 3.075 MB / 0.7514 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.3034, allocations: 0.9084 MB / 0.7523 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/0.3075, allocations: 1.492 MB / 0.7537 GB, free: 344 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5234/0.8309, allocations: 0.9153 MB / 0.7546 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000528/0.8314, allocations: 115 kB / 0.7547 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.8359, allocations: 1.453 MB / 0.7562 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004848/0.8364, allocations: 302.3 kB / 0.7564 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001344/0.8378, allocations: 0.6938 MB / 0.7571 GB, free: 22.04 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005501/0.8433, allocations: 2.302 MB / 0.7594 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8433, allocations: 1.406 kB / 0.7594 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8433, allocations: 0.6562 kB / 0.7594 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.408e-05/0.8433, allocations: 1.062 kB / 0.7594 GB, free: 21.81 MB / 0.5762 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.004075/0.8474, allocations: 1.763 MB / 0.7611 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.8474, allocations: 10.47 kB / 0.7611 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/0.8502, allocations: 419.7 kB / 0.7615 GB, free: 20.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.8531, allocations: 1.174 MB / 0.7626 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.59e-05/0.8532, allocations: 64.97 kB / 0.7627 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.8533, allocations: 80.47 kB / 0.7628 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002487/0.8558, allocations: 0.9997 MB / 0.7638 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.8559, allocations: 4.312 kB / 0.7638 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.8559, allocations: 30.28 kB / 0.7638 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/0.856, allocations: 19.09 kB / 0.7638 GB, free: 20.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.8587, allocations: 0.8599 MB / 0.7647 GB, free: 20.16 MB / 0.5762 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.008063/0.8668, allocations: 5.232 MB / 0.7698 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003456/0.8702, allocations: 0.7574 MB / 0.7705 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009022/0.8711, allocations: 274.4 kB / 0.7708 GB, free: 17 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.8716, allocations: 0.9039 MB / 0.7716 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.8717, allocations: 36.88 kB / 0.7717 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.663e-06/0.8717, allocations: 0 / 0.7717 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008687/0.8804, allocations: 1.856 MB / 0.7735 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.8804, allocations: 56.91 kB / 0.7735 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.8826, allocations: 1.076 MB / 0.7746 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.8828, allocations: 37.39 kB / 0.7746 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.8832, allocations: 0.5437 MB / 0.7752 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.8834, allocations: 150.3 kB / 0.7753 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.8836, allocations: 139.9 kB / 0.7754 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.8837, allocations: 330 kB / 0.7758 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008312/0.8845, allocations: 308.2 kB / 0.776 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.8855, allocations: 0.5428 MB / 0.7766 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.8871, allocations: 0.7063 MB / 0.7773 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.8871, allocations: 5.094 kB / 0.7773 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002921/0.89, allocations: 1.02 MB / 0.7783 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.8901, allocations: 7.344 kB / 0.7783 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.8901, allocations: 5.594 kB / 0.7783 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.8913, allocations: 307.2 kB / 0.7786 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.8919, allocations: 128.9 kB / 0.7787 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.8932, allocations: 0.8998 MB / 0.7796 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.8947, allocations: 155.3 kB / 0.7797 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.8948, allocations: 33.66 kB / 0.7798 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001272/0.8961, allocations: 0.5051 MB / 0.7803 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009847/0.8971, allocations: 0.5364 MB / 0.7808 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001491/0.8986, allocations: 0.7058 MB / 0.7815 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.8986, allocations: 2.75 kB / 0.7815 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002715/0.9013, allocations: 0.9999 MB / 0.7824 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9013, allocations: 8.375 kB / 0.7825 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9013, allocations: 8.469 kB / 0.7825 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.9024, allocations: 306.6 kB / 0.7828 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.9029, allocations: 125.5 kB / 0.7829 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.9041, allocations: 0.8911 MB / 0.7837 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.9056, allocations: 148.2 kB / 0.7839 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/0.9057, allocations: 29.66 kB / 0.7839 GB, free: 12.28 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002696/0.9059, allocations: 219 kB / 0.7841 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.9061, allocations: 116.9 kB / 0.7842 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/0.9097, allocations: 1.081 MB / 0.7853 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/0.9097, allocations: 5.875 kB / 0.7853 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.9097, allocations: 0 / 0.7853 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.9097, allocations: 7.453 kB / 0.7853 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.9146, allocations: 2.141 MB / 0.7874 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.9146, allocations: 2.812 kB / 0.7874 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.9149, allocations: 61.86 kB / 0.7875 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008737/0.9158, allocations: 292.1 kB / 0.7877 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.9158, allocations: 11.44 kB / 0.7877 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.9171, allocations: 0.9328 MB / 0.7887 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.9171, allocations: 3.641 kB / 0.7887 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/0.9206, allocations: 1.152 MB / 0.7898 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.9213, allocations: 275.1 kB / 0.79 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.9215, allocations: 16.16 kB / 0.7901 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007902/0.9223, allocations: 69.02 kB / 0.7901 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.9224, allocations: 31.28 kB / 0.7902 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.9225, allocations: 24.33 kB / 0.7902 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001334/0.9238, allocations: 0.7595 MB / 0.7909 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.9238, allocations: 3 kB / 0.7909 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001939/0.9257, allocations: 0.5761 MB / 0.7915 GB, free: 10.26 MB / 0.5762 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 (33): * Single equations (assignments): 28 * 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.0008731/0.9266, allocations: 380.7 kB / 0.7918 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002951/0.9296, allocations: 1.101 MB / 0.7929 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.9296, allocations: 2.406 kB / 0.7929 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.9303, allocations: 327.6 kB / 0.7932 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.9325, allocations: 0.5101 MB / 0.7937 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.9374, allocations: 2.047 MB / 0.7957 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.9379, allocations: 1.063 MB / 0.7968 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009074/0.9388, allocations: 228.5 kB / 0.797 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.9389, allocations: 78.88 kB / 0.7971 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.183e-06/0.9389, allocations: 0 / 0.7971 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.0422/0.9811, allocations: 25.46 MB / 0.8219 GB, free: 6.465 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 480]