Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 101.8 kB / 16.94 MB, free: 5.715 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.00114/0.00114, allocations: 193 kB / 17.87 MB, free: 5.184 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.394/1.394, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7675/0.7675, allocations: 122.8 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 59.91 kB / 0.4917 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4998, allocations: 77.92 MB / 0.5678 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06589/0.5658, allocations: 69.88 MB / 0.6361 GB, free: 4.766 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.5883, allocations: 14.38 MB / 0.6501 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003576/0.5919, allocations: 67.62 kB / 0.6502 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003217/0.5952, allocations: 0.916 MB / 0.6511 GB, free: 5.359 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008353/0.6036, allocations: 2.563 MB / 0.6536 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005582/0.6092, allocations: 1.953 MB / 0.6555 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007682/0.6169, allocations: 4.673 MB / 0.66 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003413/0.6203, allocations: 1.62 MB / 0.6616 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.6251, allocations: 1.76 MB / 0.6633 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002662/0.6278, allocations: 1.272 MB / 0.6646 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008481/0.6286, allocations: 200 kB / 0.6648 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.634, allocations: 1.911 MB / 0.6666 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009592/0.635, allocations: 474.4 kB / 0.6671 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.6375, allocations: 1.023 MB / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007626/0.6451, allocations: 3.494 MB / 0.6715 GB, free: 384 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6452, allocations: 0 / 0.6715 GB, free: 384 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6452, allocations: 0 / 0.6715 GB, free: 384 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001028/0.6453, allocations: 4 kB / 0.6715 GB, free: 380 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005886/0.6512, allocations: 2.294 MB / 0.6738 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.6513, allocations: 8.625 kB / 0.6738 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005806/0.6571, allocations: 0.6934 MB / 0.6744 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.6603, allocations: 1.526 MB / 0.6759 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.6605, allocations: 128 kB / 0.6761 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.6608, allocations: 123.9 kB / 0.6762 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.6648, allocations: 1.638 MB / 0.6778 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.6649, allocations: 3.984 kB / 0.6778 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.665, allocations: 52 kB / 0.6778 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.135e-05/0.6651, allocations: 40 kB / 0.6779 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004826/0.6699, allocations: 1.46 MB / 0.6793 GB, free: 8.18 MB / 0.5137 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.01162/0.6815, allocations: 7.038 MB / 0.6862 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.6839, allocations: 0.7436 MB / 0.6869 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.6856, allocations: 498.2 kB / 0.6874 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001438/0.6871, allocations: 1.271 MB / 0.6886 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.6871, allocations: 47.12 kB / 0.6886 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 3.096e-06/0.6871, allocations: 0 / 0.6886 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.02104/0.7082, allocations: 3.012 MB / 0.6916 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.7083, allocations: 111.3 kB / 0.6917 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.7113, allocations: 1.386 MB / 0.693 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/0.7116, allocations: 45.7 kB / 0.6931 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008099/0.7124, allocations: 0.6917 MB / 0.6938 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/0.7128, allocations: 240.6 kB / 0.694 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005235/0.7133, allocations: 234.3 kB / 0.6942 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7135, allocations: 349.9 kB / 0.6946 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.7156, allocations: 0.5044 MB / 0.695 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/0.7179, allocations: 0.7783 MB / 0.6958 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/0.722, allocations: 1.133 MB / 0.6969 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.722, allocations: 4 kB / 0.6969 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005737/0.7277, allocations: 1.55 MB / 0.6984 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.7278, allocations: 8 kB / 0.6984 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/0.7278, allocations: 8 kB / 0.6984 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001952/0.7298, allocations: 0.4933 MB / 0.6989 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.7313, allocations: 255.6 kB / 0.6992 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.7331, allocations: 0.987 MB / 0.7001 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.7357, allocations: 230.6 kB / 0.7004 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/0.7359, allocations: 59.89 kB / 0.7004 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002868/0.7388, allocations: 0.7908 MB / 0.7012 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002334/0.7411, allocations: 0.7862 MB / 0.702 GB, free: 15.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003942/0.7451, allocations: 1.125 MB / 0.703 GB, free: 14.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.778e-06/0.7451, allocations: 7.984 kB / 0.7031 GB, free: 14.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.00607/0.7512, allocations: 1.546 MB / 0.7046 GB, free: 13.11 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7512, allocations: 11.98 kB / 0.7046 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.7513, allocations: 4 kB / 0.7046 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.7531, allocations: 491.1 kB / 0.7051 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.7545, allocations: 255.6 kB / 0.7053 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.7563, allocations: 0.9921 MB / 0.7063 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.7588, allocations: 195.1 kB / 0.7064 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/0.759, allocations: 59.94 kB / 0.7065 GB, free: 11.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004509/0.7595, allocations: 232.1 kB / 0.7067 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/0.7601, allocations: 142.3 kB / 0.7069 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004801/0.7649, allocations: 1.311 MB / 0.7081 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.765, allocations: 11.94 kB / 0.7082 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.765, allocations: 0 / 0.7082 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003895/0.7689, allocations: 1.108 MB / 0.7092 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008604/0.7775, allocations: 3.05 MB / 0.7122 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.81e-05/0.7775, allocations: 8.125 kB / 0.7122 GB, free: 5.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009712/0.7785, allocations: 151.8 kB / 0.7124 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/0.7804, allocations: 483.9 kB / 0.7128 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.7805, allocations: 23.97 kB / 0.7129 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.7822, allocations: 0.9911 MB / 0.7138 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.7822, allocations: 8.062 kB / 0.7138 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006482/0.7887, allocations: 1.924 MB / 0.7157 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009561/0.7897, allocations: 355 kB / 0.716 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/0.7902, allocations: 24 kB / 0.7161 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.7922, allocations: 111.9 kB / 0.7162 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.7923, allocations: 60.19 kB / 0.7162 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.7925, allocations: 51.94 kB / 0.7163 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002142/0.7946, allocations: 0.9894 MB / 0.7172 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7946, allocations: 0 / 0.7172 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003267/0.7979, allocations: 0.8929 MB / 0.7181 GB, free: 14.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001622/0.7995, allocations: 0.5586 MB / 0.7187 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007245/0.8068, allocations: 1.857 MB / 0.7205 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/0.8068, allocations: 4 kB / 0.7205 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002003/0.8089, allocations: 0.5141 MB / 0.721 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/0.8137, allocations: 0.8326 MB / 0.7218 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006879/0.8206, allocations: 2.736 MB / 0.7245 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.8217, allocations: 1.207 MB / 0.7256 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.8223, allocations: 147.2 kB / 0.7258 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of SimCode: time 1.623e-06/0.8223, allocations: 0 / 0.7258 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of Templates: time 0.3817/1.204, allocations: 36.42 MB / 0.7614 GB, free: 157.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)