Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001469, allocations: 106 kB / 16.93 MB, free: 5.672 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.001388/0.001388, allocations: 190 kB / 17.87 MB, free: 5.164 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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7665/0.7665, allocations: 122.9 MB / 414.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001472, allocations: 59.91 kB / 0.4917 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.435, allocations: 77.91 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05862/0.4937, allocations: 61.18 MB / 0.6276 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.513, allocations: 11.99 MB / 0.6393 GB, free: 1.523 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.5162, allocations: 59.69 kB / 0.6393 GB, free: 1.465 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.5186, allocations: 0.6907 MB / 0.64 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006685/0.5253, allocations: 1.955 MB / 0.6419 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003234/0.5286, allocations: 1.2 MB / 0.6431 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005151/0.5338, allocations: 3.079 MB / 0.6461 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.5356, allocations: 1.094 MB / 0.6472 GB, free: 9.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003842/0.5395, allocations: 1.321 MB / 0.6485 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.5414, allocations: 0.9022 MB / 0.6493 GB, free: 7.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.5417, allocations: 112 kB / 0.6494 GB, free: 7.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.5451, allocations: 1.454 MB / 0.6509 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.5454, allocations: 290.9 kB / 0.6511 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009795/0.5464, allocations: 0.688 MB / 0.6518 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.5505, allocations: 2.279 MB / 0.654 GB, free: 2.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.5505, allocations: 0 / 0.654 GB, free: 2.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5505, allocations: 4 kB / 0.654 GB, free: 2.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.679e-05/0.5505, allocations: 0 / 0.654 GB, free: 2.336 MB / 494.1 MB 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.00321/0.5537, allocations: 1.73 MB / 0.6557 GB, free: 0.543 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5538, allocations: 8.031 kB / 0.6557 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/0.5559, allocations: 406.9 kB / 0.6561 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.558, allocations: 1.117 MB / 0.6572 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003571/0.5584, allocations: 113.9 kB / 0.6573 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.5585, allocations: 84 kB / 0.6574 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.5605, allocations: 1.001 MB / 0.6584 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5606, allocations: 0 / 0.6584 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.5607, allocations: 35.98 kB / 0.6584 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/0.5607, allocations: 20 kB / 0.6584 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.563, allocations: 0.8703 MB / 0.6593 GB, free: 12.78 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.006546/0.5695, allocations: 5.276 MB / 0.6644 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/0.5729, allocations: 0.7992 MB / 0.6652 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.5736, allocations: 304.6 kB / 0.6655 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/0.5745, allocations: 0.9102 MB / 0.6664 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.5745, allocations: 38.56 kB / 0.6664 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.484e-06/0.5746, allocations: 0 / 0.6664 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008709/0.5833, allocations: 1.934 MB / 0.6683 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.327e-05/0.5834, allocations: 55.41 kB / 0.6684 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.5852, allocations: 1.079 MB / 0.6694 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.834e-05/0.5853, allocations: 33.7 kB / 0.6695 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005134/0.5859, allocations: 0.535 MB / 0.67 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.586, allocations: 145.9 kB / 0.6701 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.5863, allocations: 142.1 kB / 0.6703 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001995/0.5865, allocations: 330 kB / 0.6706 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000937/0.5875, allocations: 311.3 kB / 0.6709 GB, free: 248 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.5886, allocations: 0.5368 MB / 0.6714 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.5903, allocations: 0.7221 MB / 0.6721 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.5903, allocations: 0 / 0.6721 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003884/0.5942, allocations: 1.184 MB / 0.6733 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.5943, allocations: 10.5 kB / 0.6733 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.5943, allocations: 7.938 kB / 0.6733 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.5956, allocations: 323.1 kB / 0.6736 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.5961, allocations: 131.8 kB / 0.6737 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.5977, allocations: 0.9113 MB / 0.6746 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.599, allocations: 155.2 kB / 0.6748 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.5991, allocations: 31.98 kB / 0.6748 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.6004, allocations: 0.5207 MB / 0.6753 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/0.6015, allocations: 0.5329 MB / 0.6758 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001711/0.6032, allocations: 0.7134 MB / 0.6765 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.6032, allocations: 0 / 0.6765 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003515/0.6067, allocations: 1.153 MB / 0.6776 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6068, allocations: 4 kB / 0.6776 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.6068, allocations: 8 kB / 0.6776 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.6078, allocations: 314.2 kB / 0.6779 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.6084, allocations: 131.8 kB / 0.6781 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.6098, allocations: 0.9113 MB / 0.679 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.611, allocations: 139.5 kB / 0.6791 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.6111, allocations: 39.98 kB / 0.6791 GB, free: 7.375 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002548/0.6114, allocations: 217 kB / 0.6793 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/0.6116, allocations: 118.5 kB / 0.6795 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003808/0.6154, allocations: 1.111 MB / 0.6805 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6154, allocations: 8 kB / 0.6805 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6154, allocations: 0 / 0.6805 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.6155, allocations: 3.984 kB / 0.6805 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005127/0.6206, allocations: 2.195 MB / 0.6827 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.6206, allocations: 4 kB / 0.6827 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.6209, allocations: 63.89 kB / 0.6828 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.6219, allocations: 304.9 kB / 0.683 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.622, allocations: 19.92 kB / 0.6831 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.6234, allocations: 0.9386 MB / 0.684 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6234, allocations: 64 / 0.684 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003625/0.627, allocations: 1.197 MB / 0.6852 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/0.6275, allocations: 267.5 kB / 0.6854 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.6278, allocations: 15.94 kB / 0.6854 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000927/0.6287, allocations: 75.91 kB / 0.6855 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.6288, allocations: 39.83 kB / 0.6855 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.6289, allocations: 23.98 kB / 0.6856 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001427/0.6303, allocations: 0.7551 MB / 0.6863 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/0.6304, allocations: 0 / 0.6863 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002001/0.6324, allocations: 0.577 MB / 0.6869 GB, free: 15.25 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.0009845/0.6334, allocations: 381.9 kB / 0.6872 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003478/0.6368, allocations: 1.16 MB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6369, allocations: 3.938 kB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009015/0.6378, allocations: 354.5 kB / 0.6887 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.6403, allocations: 0.5107 MB / 0.6892 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.6458, allocations: 2.084 MB / 0.6912 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.6465, allocations: 1.061 MB / 0.6923 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.6468, allocations: 83.42 kB / 0.6923 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of SimCode: time 7.22e-07/0.6468, allocations: 4 kB / 0.6923 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.03463/0.6815, allocations: 24.2 MB / 0.716 GB, free: 1.559 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)