Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007751/0.0007751, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008318/0.0008319, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 270.6 kB / 291.4 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9678/0.9678, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 14.16 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 88.55 MB / 0.6845 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05047/0.1817, allocations: 56.48 MB / 0.7396 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.1956, allocations: 11.22 MB / 0.7506 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.1968, allocations: 51.62 kB / 0.7506 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.198, allocations: 460.9 kB / 0.7511 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003329/0.2013, allocations: 1.534 MB / 0.7526 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.2035, allocations: 0.8577 MB / 0.7534 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00349/0.207, allocations: 3.398 MB / 0.7567 GB, free: 5.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.2081, allocations: 0.7937 MB / 0.7575 GB, free: 4.523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001829/0.21, allocations: 1.034 MB / 0.7585 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.211, allocations: 0.801 MB / 0.7593 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.2112, allocations: 43.98 kB / 0.7593 GB, free: 2.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.2133, allocations: 1.115 MB / 0.7604 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.2136, allocations: 191 kB / 0.7606 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.2139, allocations: 289 kB / 0.7609 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2715/0.4854, allocations: 1.636 MB / 0.7625 GB, free: 28.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4854, allocations: 0 / 0.7625 GB, free: 28.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4854, allocations: 2.5 kB / 0.7625 GB, free: 28.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.928e-05/0.4855, allocations: 0 / 0.7625 GB, free: 28.34 MB / 0.545 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.002566/0.488, allocations: 1.501 MB / 0.7639 GB, free: 27.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4881, allocations: 11.19 kB / 0.764 GB, free: 27.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.4897, allocations: 385.5 kB / 0.7643 GB, free: 27.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4917, allocations: 1.084 MB / 0.7654 GB, free: 27.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000338/0.492, allocations: 130.7 kB / 0.7655 GB, free: 27.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.4922, allocations: 81.19 kB / 0.7656 GB, free: 27.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.4941, allocations: 0.9639 MB / 0.7665 GB, free: 27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.4941, allocations: 1.281 kB / 0.7665 GB, free: 27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.4942, allocations: 37.03 kB / 0.7666 GB, free: 27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.4942, allocations: 24.86 kB / 0.7666 GB, free: 27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.4962, allocations: 0.8434 MB / 0.7674 GB, free: 26.97 MB / 0.545 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.005222/0.5014, allocations: 4.784 MB / 0.7721 GB, free: 24.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.5029, allocations: 0.5985 MB / 0.7727 GB, free: 24.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/0.5035, allocations: 281.4 kB / 0.7729 GB, free: 24.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.5046, allocations: 1.394 MB / 0.7743 GB, free: 22.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5046, allocations: 36.86 kB / 0.7743 GB, free: 22.69 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.324e-06/0.5046, allocations: 0 / 0.7743 GB, free: 22.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.007393/0.512, allocations: 2.039 MB / 0.7763 GB, free: 22.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.512, allocations: 60.42 kB / 0.7764 GB, free: 22.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.5136, allocations: 1.044 MB / 0.7774 GB, free: 22.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.733e-05/0.5137, allocations: 37.2 kB / 0.7774 GB, free: 22.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.514, allocations: 0.5204 MB / 0.7779 GB, free: 21.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.5142, allocations: 154.3 kB / 0.7781 GB, free: 21.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.5142, allocations: 11.09 kB / 0.7781 GB, free: 21.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.5143, allocations: 326.1 kB / 0.7784 GB, free: 21.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007121/0.515, allocations: 280.9 kB / 0.7787 GB, free: 21.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.5158, allocations: 496.9 kB / 0.7792 GB, free: 21.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007447/0.5166, allocations: 332.8 kB / 0.7795 GB, free: 21.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.5166, allocations: 1.312 kB / 0.7795 GB, free: 21.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003039/0.5196, allocations: 1.139 MB / 0.7806 GB, free: 21.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.5197, allocations: 215.6 kB / 0.7808 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5197, allocations: 1.844 kB / 0.7808 GB, free: 20.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.5209, allocations: 331.6 kB / 0.7811 GB, free: 20.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/0.5213, allocations: 117.7 kB / 0.7812 GB, free: 20.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.5226, allocations: 0.9404 MB / 0.7821 GB, free: 20.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.5238, allocations: 186.1 kB / 0.7823 GB, free: 20.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.5239, allocations: 31.69 kB / 0.7823 GB, free: 20.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.5239, allocations: 3.594 kB / 0.7824 GB, free: 20.3 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/0.5265, allocations: 1.001 MB / 0.7833 GB, free: 20.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5266, allocations: 4.562 kB / 0.7833 GB, free: 20.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009561/0.5275, allocations: 323.2 kB / 0.7836 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004097/0.5279, allocations: 118.2 kB / 0.7838 GB, free: 20.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.5291, allocations: 0.9405 MB / 0.7847 GB, free: 19.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000923/0.53, allocations: 150.9 kB / 0.7848 GB, free: 19.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.5301, allocations: 37.16 kB / 0.7849 GB, free: 19.64 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004207/0.5305, allocations: 352.4 kB / 0.7852 GB, free: 19.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.5307, allocations: 104.3 kB / 0.7853 GB, free: 19.4 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.5338, allocations: 1.164 MB / 0.7864 GB, free: 19.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.5338, allocations: 7.797 kB / 0.7864 GB, free: 19.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5338, allocations: 0 / 0.7864 GB, free: 19.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.5338, allocations: 3.953 kB / 0.7864 GB, free: 19.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004388/0.5382, allocations: 2.149 MB / 0.7885 GB, free: 18.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5383, allocations: 7.281 kB / 0.7885 GB, free: 18.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.5385, allocations: 54.78 kB / 0.7886 GB, free: 18.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009826/0.5395, allocations: 338.1 kB / 0.7889 GB, free: 18.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.5395, allocations: 18.12 kB / 0.7889 GB, free: 18.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.5408, allocations: 0.9709 MB / 0.7899 GB, free: 18.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5408, allocations: 2.344 kB / 0.7899 GB, free: 18.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/0.5437, allocations: 1.184 MB / 0.791 GB, free: 17.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.5441, allocations: 278.3 kB / 0.7913 GB, free: 17.79 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.5443, allocations: 12.06 kB / 0.7913 GB, free: 17.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/0.5451, allocations: 103.6 kB / 0.7914 GB, free: 17.78 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.5451, allocations: 38.72 kB / 0.7915 GB, free: 17.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/0.5452, allocations: 24.02 kB / 0.7915 GB, free: 17.78 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001022/0.5462, allocations: 0.7343 MB / 0.7922 GB, free: 17.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5462, allocations: 0 / 0.7922 GB, free: 17.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001487/0.5477, allocations: 0.562 MB / 0.7927 GB, free: 17.59 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006748/0.5484, allocations: 395 kB / 0.7931 GB, free: 17.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002482/0.5509, allocations: 1.053 MB / 0.7941 GB, free: 17.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5509, allocations: 1.156 kB / 0.7941 GB, free: 17.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007177/0.5516, allocations: 341.7 kB / 0.7945 GB, free: 17.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/0.5538, allocations: 0.508 MB / 0.795 GB, free: 17.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5568, allocations: 2.203 MB / 0.7971 GB, free: 16.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.5573, allocations: 1.061 MB / 0.7982 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008121/0.5581, allocations: 211.8 kB / 0.7984 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5582, allocations: 78.66 kB / 0.7984 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/0.5583, allocations: 1.344 kB / 0.7984 GB, free: 15.46 MB / 0.545 GB Notification: Performance of Templates: time 0.03001/0.5883, allocations: 23.23 MB / 0.8211 GB, free: 4.988 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)