Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008698/0.0008699, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009069/0.0009069, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.6 MB / 0.5497 GB, free: 14.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005683/0.0005684, allocations: 12.09 kB / 0.6737 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2496, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1018/0.3514, allocations: 109.4 MB / 0.894 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.605/0.9564, allocations: 21.12 MB / 0.9146 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005894/0.9624, allocations: 108.9 kB / 0.9148 GB, free: 39.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006137/0.9685, allocations: 1.461 MB / 0.9162 GB, free: 39.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01809/0.9867, allocations: 4.073 MB / 0.9202 GB, free: 39.53 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.9975, allocations: 3.154 MB / 0.9232 GB, free: 39.46 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01185/1.009, allocations: 5.047 MB / 0.9282 GB, free: 39.45 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/1.014, allocations: 2.27 MB / 0.9304 GB, free: 39.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007158/1.021, allocations: 2.415 MB / 0.9327 GB, free: 39.17 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/1.026, allocations: 1.569 MB / 0.9343 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001749/1.028, allocations: 130.1 kB / 0.9344 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/1.041, allocations: 1.742 MB / 0.9361 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002552/1.044, allocations: 0.5703 MB / 0.9367 GB, free: 39.16 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0036/1.047, allocations: 0.7301 MB / 0.9374 GB, free: 39.13 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009159/1.057, allocations: 4.558 MB / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/1.057, allocations: 0 / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/1.057, allocations: 4 kB / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001719/1.057, allocations: 1.031 kB / 0.9418 GB, free: 38.83 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008434/1.065, allocations: 3.353 MB / 0.9451 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/1.065, allocations: 9.344 kB / 0.9451 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007863/1.066, allocations: 326.1 kB / 0.9454 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.077, allocations: 1.456 MB / 0.9468 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00629/1.083, allocations: 2.693 MB / 0.9495 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/1.084, allocations: 257.3 kB / 0.9497 GB, free: 36.22 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005308/1.084, allocations: 236.4 kB / 0.9499 GB, free: 36.21 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007755/1.092, allocations: 3.206 MB / 0.9531 GB, free: 35.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/1.092, allocations: 5.656 kB / 0.9531 GB, free: 35.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/1.092, allocations: 109.3 kB / 0.9532 GB, free: 35.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.067e-05/1.092, allocations: 70.42 kB / 0.9532 GB, free: 35.45 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008454/1.101, allocations: 2.879 MB / 0.9561 GB, free: 34.89 MB / 0.7169 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.01812/1.119, allocations: 13.73 MB / 0.9695 GB, free: 26.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003806/1.123, allocations: 1.505 MB / 0.9709 GB, free: 26.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.124, allocations: 1.781 MB / 0.9727 GB, free: 24.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003245/1.127, allocations: 1.215 MB / 0.9739 GB, free: 23.71 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.026e-06/1.127, allocations: 2.812 kB / 0.9739 GB, free: 23.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130): time 0.0502/1.178, allocations: 11.81 MB / 0.9854 GB, free: 18.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.178, allocations: 0.5794 MB / 0.986 GB, free: 17.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/1.182, allocations: 2.688 MB / 0.9886 GB, free: 16.67 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003747/1.182, allocations: 59.73 kB / 0.9887 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009223/1.183, allocations: 1.326 MB / 0.9899 GB, free: 16.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/1.183, allocations: 448.9 kB / 0.9904 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.183, allocations: 35.53 kB / 0.9904 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.184, allocations: 373.9 kB / 0.9908 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/1.187, allocations: 1 MB / 0.9917 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/1.191, allocations: 1.585 MB / 0.9933 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/1.194, allocations: 1.131 MB / 0.9944 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.194, allocations: 4.562 kB / 0.9944 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02222/1.216, allocations: 4.242 MB / 0.9985 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009018/1.217, allocations: 5.247 MB / 1.004 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.217, allocations: 16 kB / 1.004 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/1.221, allocations: 1.154 MB / 1.005 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/1.223, allocations: 474.4 kB / 1.005 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/1.227, allocations: 2.399 MB / 1.008 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/1.233, allocations: 415.2 kB / 1.008 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003933/1.234, allocations: 111.9 kB / 1.008 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.234, allocations: 2.969 kB / 1.008 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02112/1.255, allocations: 3.958 MB / 1.012 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.22e-05/1.255, allocations: 12 kB / 1.012 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003775/1.259, allocations: 1.162 MB / 1.013 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/1.261, allocations: 468.1 kB / 1.014 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/1.265, allocations: 2.385 MB / 1.016 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005188/1.271, allocations: 387.5 kB / 1.016 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003954/1.271, allocations: 104.7 kB / 1.016 GB, free: 11.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001885/1.273, allocations: 0.6965 MB / 1.017 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008481/1.274, allocations: 283.8 kB / 1.017 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/1.289, allocations: 3.042 MB / 1.02 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.31e-05/1.289, allocations: 12 kB / 1.02 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/1.289, allocations: 4 kB / 1.02 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01446/1.304, allocations: 2.639 MB / 1.023 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.327, allocations: 7.046 MB / 1.03 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.622e-05/1.327, allocations: 4 kB / 1.03 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.329, allocations: 284 kB / 1.03 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003492/1.332, allocations: 1.01 MB / 1.031 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/1.332, allocations: 55.89 kB / 1.031 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003554/1.336, allocations: 2.156 MB / 1.033 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-05/1.336, allocations: 10.55 kB / 1.033 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02089/1.357, allocations: 5.016 MB / 1.038 GB, free: 5.023 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.36, allocations: 0.6808 MB / 1.039 GB, free: 4.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007548/1.36, allocations: 36.06 kB / 1.039 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003689/1.364, allocations: 298.8 kB / 1.039 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002407/1.364, allocations: 114.2 kB / 1.039 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/1.365, allocations: 75.92 kB / 1.039 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003508/1.368, allocations: 1.89 MB / 1.041 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.693e-06/1.368, allocations: 0 / 1.041 GB, free: 1.926 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005842/1.374, allocations: 1.506 MB / 1.043 GB, free: 432 kB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02193/1.396, allocations: 7.902 MB / 1.05 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01335/1.409, allocations: 3.765 MB / 1.054 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/1.409, allocations: 1.438 kB / 1.054 GB, free: 4.734 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.003926/1.413, allocations: 1.102 MB / 1.055 GB, free: 3.668 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008558/1.422, allocations: 1.487 MB / 1.056 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/1.442, allocations: 15.95 MB / 1.072 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.443, allocations: 1.77 MB / 1.074 GB, free: 15.93 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00381/1.447, allocations: 0.6614 MB / 1.074 GB, free: 15.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.449, allocations: 1.161 MB / 1.076 GB, free: 14.11 MB / 0.795 GB Notification: Performance of SimCode: time 1.122e-06/1.449, allocations: 0 / 1.076 GB, free: 14.11 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.139/7.588, allocations: 96.26 MB / 1.17 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000339/7.588, allocations: 257.5 kB / 1.17 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.965/12.55, allocations: 4 kB / 1.17 GB, free: 14.72 MB / 0.8887 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: