Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 113.3 kB / 17.04 MB, free: 5.812 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.001629/0.001629, allocations: 195 kB / 17.98 MB, free: 5.027 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7218/0.7218, allocations: 115.1 MB / 406.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 55.91 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3183, allocations: 76.15 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06506/0.3834, allocations: 75.16 MB / 0.631 GB, free: 9.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0202/0.4037, allocations: 15.16 MB / 0.6458 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.4063, allocations: 67.56 kB / 0.6458 GB, free: 10 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002457/0.4088, allocations: 0.8268 MB / 0.6466 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006834/0.4157, allocations: 2.595 MB / 0.6492 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003406/0.4191, allocations: 1.393 MB / 0.6505 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005697/0.4248, allocations: 4.397 MB / 0.6548 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.4269, allocations: 1.453 MB / 0.6562 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003595/0.4306, allocations: 1.632 MB / 0.6578 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001901/0.4325, allocations: 1.217 MB / 0.659 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003183/0.4328, allocations: 164 kB / 0.6592 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.4357, allocations: 1.404 MB / 0.6606 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004445/0.4362, allocations: 398.6 kB / 0.6609 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0011/0.4373, allocations: 0.8983 MB / 0.6618 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.4414, allocations: 2.876 MB / 0.6646 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.4414, allocations: 0 / 0.6646 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4414, allocations: 0 / 0.6646 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.719e-05/0.4414, allocations: 0 / 0.6646 GB, free: 6.695 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003757/0.4452, allocations: 2.087 MB / 0.6667 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4453, allocations: 8.031 kB / 0.6667 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/0.4461, allocations: 226.9 kB / 0.6669 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/0.4488, allocations: 1.526 MB / 0.6684 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.4489, allocations: 81.98 kB / 0.6685 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.449, allocations: 103.9 kB / 0.6685 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.451, allocations: 1.104 MB / 0.6696 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.451, allocations: 0 / 0.6696 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-05/0.4511, allocations: 40 kB / 0.6697 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-05/0.4512, allocations: 35.98 kB / 0.6697 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.4531, allocations: 0.89 MB / 0.6706 GB, free: 460 kB / 0.4981 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.006063/0.4591, allocations: 4.893 MB / 0.6753 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4606, allocations: 0.612 MB / 0.6759 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007045/0.4613, allocations: 348.7 kB / 0.6763 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005929/0.4619, allocations: 0.8277 MB / 0.6771 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.4619, allocations: 43.11 kB / 0.6771 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.4619, allocations: 0 / 0.6771 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00712/0.4691, allocations: 1.693 MB / 0.6788 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.4691, allocations: 63.95 kB / 0.6788 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.4709, allocations: 1.226 MB / 0.68 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.4711, allocations: 41.7 kB / 0.6801 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/0.4716, allocations: 0.6026 MB / 0.6807 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.4718, allocations: 216.9 kB / 0.6809 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.4721, allocations: 154.5 kB / 0.681 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4722, allocations: 338 kB / 0.6813 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006715/0.4729, allocations: 284.7 kB / 0.6816 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.4738, allocations: 0.4967 MB / 0.6821 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001395/0.4752, allocations: 0.7127 MB / 0.6828 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4752, allocations: 7.938 kB / 0.6828 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004598/0.4798, allocations: 1.269 MB / 0.684 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4799, allocations: 11.98 kB / 0.6841 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.4799, allocations: 4 kB / 0.6841 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.4804, allocations: 132.8 kB / 0.6842 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.4811, allocations: 163.8 kB / 0.6843 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008105/0.4819, allocations: 0.7006 MB / 0.685 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.4829, allocations: 119 kB / 0.6851 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-05/0.483, allocations: 40.05 kB / 0.6852 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001016/0.484, allocations: 0.5488 MB / 0.6857 GB, free: 192 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008111/0.4849, allocations: 496.7 kB / 0.6862 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001341/0.4862, allocations: 0.709 MB / 0.6869 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.085e-06/0.4862, allocations: 0 / 0.6869 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00453/0.4908, allocations: 1.265 MB / 0.6881 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.4908, allocations: 4 kB / 0.6881 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4908, allocations: 4.375 kB / 0.6881 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.4913, allocations: 141.6 kB / 0.6883 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005956/0.4919, allocations: 159.7 kB / 0.6884 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007512/0.4927, allocations: 0.7025 MB / 0.6891 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4937, allocations: 99.44 kB / 0.6892 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.133e-05/0.4938, allocations: 28 kB / 0.6892 GB, free: 12.43 MB / 0.5294 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.494, allocations: 240.1 kB / 0.6894 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.4943, allocations: 134.3 kB / 0.6896 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004469/0.4988, allocations: 1.264 MB / 0.6908 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.4988, allocations: 8 kB / 0.6908 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4989, allocations: 4 kB / 0.6908 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003877/0.5027, allocations: 1.107 MB / 0.6919 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006336/0.5091, allocations: 2.61 MB / 0.6944 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.5091, allocations: 4 kB / 0.6945 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.5096, allocations: 111.8 kB / 0.6946 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/0.5101, allocations: 133.2 kB / 0.6947 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.5101, allocations: 16 kB / 0.6947 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.5149, allocations: 2.639 MB / 0.6973 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.5149, allocations: 4 kB / 0.6973 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005074/0.52, allocations: 1.699 MB / 0.6989 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/0.5206, allocations: 307.2 kB / 0.6992 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.5208, allocations: 24.05 kB / 0.6993 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.5217, allocations: 47.94 kB / 0.6993 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5218, allocations: 52.31 kB / 0.6994 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.5219, allocations: 43.97 kB / 0.6994 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001267/0.5232, allocations: 0.8818 MB / 0.7003 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.433e-06/0.5232, allocations: 0 / 0.7003 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00186/0.5251, allocations: 0.7213 MB / 0.701 GB, free: 15.98 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/0.5261, allocations: 457.9 kB / 0.7014 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002547/0.5287, allocations: 1.117 MB / 0.7025 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.5287, allocations: 4.188 kB / 0.7025 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.5302, allocations: 0.5641 MB / 0.703 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/0.5338, allocations: 0.7938 MB / 0.7038 GB, free: 13.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.5379, allocations: 2.273 MB / 0.706 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008306/0.5388, allocations: 1.182 MB / 0.7072 GB, free: 9.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001173/0.54, allocations: 311.6 kB / 0.7075 GB, free: 9.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.5403, allocations: 107.3 kB / 0.7076 GB, free: 9.117 MB / 0.545 GB Notification: Performance of SimCode: time 1.834e-06/0.5403, allocations: 4 kB / 0.7076 GB, free: 9.113 MB / 0.545 GB Notification: Performance of Templates: time 0.05196/0.5922, allocations: 32.17 MB / 0.739 GB, free: 9.27 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)