Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 99.84 kB / 16.64 MB, free: 6.824 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.002254/0.002254, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.471/1.471, allocations: 222.9 MB / 241.3 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8301/0.8301, allocations: 125.3 MB / 416.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 0.4943 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4447, allocations: 78.57 MB / 0.571 GB, free: 31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05762/0.5024, allocations: 60.8 MB / 0.6304 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01971/0.5221, allocations: 11.92 MB / 0.642 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002918/0.5251, allocations: 55.62 kB / 0.6421 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.5275, allocations: 0.5828 MB / 0.6426 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006681/0.5342, allocations: 1.82 MB / 0.6444 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.5379, allocations: 1.103 MB / 0.6455 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005531/0.5435, allocations: 3.102 MB / 0.6485 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.5455, allocations: 1.125 MB / 0.6496 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.5498, allocations: 1.453 MB / 0.651 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.5515, allocations: 0.91 MB / 0.6519 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.5518, allocations: 120 kB / 0.6521 GB, free: 4.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.555, allocations: 1.462 MB / 0.6535 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.5554, allocations: 294.9 kB / 0.6538 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.5565, allocations: 0.7036 MB / 0.6544 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.5595, allocations: 1.758 MB / 0.6562 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5595, allocations: 0 / 0.6562 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd: time 4.769e-06/0.5595, allocations: 0 / 0.6562 GB, free: 324 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.5595, allocations: 3.938 kB / 0.6562 GB, free: 320 kB / 494.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.003642/0.5632, allocations: 1.738 MB / 0.6579 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.5632, allocations: 12.03 kB / 0.6579 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.5658, allocations: 410.8 kB / 0.6583 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.5682, allocations: 1.136 MB / 0.6594 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.5686, allocations: 113.9 kB / 0.6595 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.5688, allocations: 84 kB / 0.6596 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.5711, allocations: 1.001 MB / 0.6605 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.5711, allocations: 0 / 0.6605 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.88e-05/0.5712, allocations: 32 kB / 0.6606 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.5713, allocations: 20 kB / 0.6606 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.5738, allocations: 0.8938 MB / 0.6615 GB, free: 10.72 MB / 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.007854/0.5816, allocations: 4.862 MB / 0.6662 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/0.5852, allocations: 0.8109 MB / 0.667 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.5861, allocations: 316.6 kB / 0.6673 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/0.587, allocations: 0.8986 MB / 0.6682 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.75e-05/0.5871, allocations: 42.56 kB / 0.6682 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.305e-06/0.5871, allocations: 3.938 kB / 0.6682 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.009052/0.5962, allocations: 1.966 MB / 0.6701 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.5963, allocations: 55.41 kB / 0.6702 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.5982, allocations: 1.052 MB / 0.6712 GB, free: 92 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.5983, allocations: 41.7 kB / 0.6713 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.5989, allocations: 0.5313 MB / 0.6718 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.5991, allocations: 149.8 kB / 0.6719 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.5994, allocations: 134 kB / 0.6721 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.5996, allocations: 329.9 kB / 0.6724 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009605/0.6005, allocations: 322.9 kB / 0.6727 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.6018, allocations: 0.5254 MB / 0.6732 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/0.6036, allocations: 0.7102 MB / 0.6739 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.6037, allocations: 7.938 kB / 0.6739 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00307/0.6067, allocations: 1.015 MB / 0.6749 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.6068, allocations: 6.156 kB / 0.6749 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.6068, allocations: 8 kB / 0.6749 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.6082, allocations: 316.7 kB / 0.6752 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005799/0.6088, allocations: 123.8 kB / 0.6753 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.6104, allocations: 0.9152 MB / 0.6762 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.6119, allocations: 179.2 kB / 0.6764 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.612, allocations: 27.98 kB / 0.6764 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/0.6134, allocations: 0.5283 MB / 0.6769 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/0.6146, allocations: 0.5121 MB / 0.6774 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00179/0.6164, allocations: 0.695 MB / 0.6781 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.921e-06/0.6164, allocations: 4 kB / 0.6781 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.002963/0.6194, allocations: 1.016 MB / 0.6791 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.6194, allocations: 8 kB / 0.6791 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6194, allocations: 4 kB / 0.6791 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.6206, allocations: 308.8 kB / 0.6794 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.6212, allocations: 127.8 kB / 0.6795 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001524/0.6227, allocations: 0.9035 MB / 0.6804 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.6242, allocations: 167.4 kB / 0.6806 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.6243, allocations: 31.98 kB / 0.6806 GB, free: 6.086 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * 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.0002975/0.6246, allocations: 212.1 kB / 0.6808 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.6248, allocations: 114.6 kB / 0.6809 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004005/0.6288, allocations: 1.135 MB / 0.682 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.6288, allocations: 11.98 kB / 0.682 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6288, allocations: 0 / 0.682 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6289, allocations: 0 / 0.682 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005632/0.6345, allocations: 2.222 MB / 0.6842 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6345, allocations: 4.031 kB / 0.6842 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.6349, allocations: 75.88 kB / 0.6843 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.636, allocations: 300.6 kB / 0.6846 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.636, allocations: 15.98 kB / 0.6846 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.6376, allocations: 0.9495 MB / 0.6855 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6376, allocations: 4 kB / 0.6855 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003961/0.6416, allocations: 1.208 MB / 0.6867 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/0.6423, allocations: 263.5 kB / 0.6869 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.6424, allocations: 12 kB / 0.687 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009252/0.6434, allocations: 103.7 kB / 0.6871 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6435, allocations: 43.94 kB / 0.6871 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.6435, allocations: 23.98 kB / 0.6871 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001285/0.6448, allocations: 0.7431 MB / 0.6878 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6449, allocations: 0 / 0.6878 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001693/0.6466, allocations: 0.5652 MB / 0.6884 GB, free: 13.91 MB / 0.5294 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 (34): * Single equations (assignments): 29 * 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.0009241/0.6475, allocations: 386 kB / 0.6888 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003581/0.6511, allocations: 1.165 MB / 0.6899 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.6511, allocations: 0 / 0.6899 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6521, allocations: 367.1 kB / 0.6903 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.6546, allocations: 0.5181 MB / 0.6908 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005987/0.6606, allocations: 2.48 MB / 0.6932 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.6614, allocations: 1.065 MB / 0.6942 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.6616, allocations: 79.42 kB / 0.6943 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.6617, allocations: 0 / 0.6943 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of Templates: time 0.04069/0.7023, allocations: 24.06 MB / 0.7178 GB, free: 15.94 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)