Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.688/0.688, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 190.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008553/0.0008555, allocations: 91.95 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 270.3 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.31e-05, allocations: 8 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3885, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6544/1.043, allocations: 394.4 MB / 1.149 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/1.043, allocations: 86.2 kB / 1.15 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.718/2.761, allocations: 0.558 GB / 1.708 GB, free: 19.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.82e-07/2.761, allocations: 8 kB / 1.708 GB, free: 19.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001763/2.761, allocations: 39.92 kB / 1.708 GB, free: 19.18 MB / 0.698 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.003869/2.765, allocations: 1.831 MB / 1.709 GB, free: 17.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/2.765, allocations: 12.03 kB / 1.709 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003226/2.766, allocations: 173.4 kB / 1.71 GB, free: 17.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/2.77, allocations: 0.6691 MB / 1.71 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/2.773, allocations: 1.778 MB / 1.712 GB, free: 14.59 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/2.774, allocations: 128 kB / 1.712 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/2.774, allocations: 116 kB / 1.712 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/2.776, allocations: 1.455 MB / 1.714 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/2.776, allocations: 3.906 kB / 1.714 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/2.776, allocations: 48 kB / 1.714 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.715e-05/2.776, allocations: 58.11 kB / 1.714 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001745/2.778, allocations: 1.106 MB / 1.715 GB, free: 11.57 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008546/2.787, allocations: 6.808 MB / 1.721 GB, free: 4.469 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/2.787, allocations: 0.545 MB / 1.722 GB, free: 3.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000434/2.788, allocations: 342.5 kB / 1.722 GB, free: 3.582 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009544/2.789, allocations: 1.271 MB / 1.724 GB, free: 2.035 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/2.789, allocations: 43.12 kB / 1.724 GB, free: 1.984 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 2.835e-06/2.789, allocations: 0 / 1.724 GB, free: 1.984 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.009112/2.798, allocations: 1.447 MB / 1.725 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/2.798, allocations: 111.4 kB / 1.725 GB, free: 400 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3767/3.175, allocations: 1.212 MB / 1.726 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/3.175, allocations: 42.86 kB / 1.726 GB, free: 100.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005719/3.176, allocations: 0.7027 MB / 1.727 GB, free: 100.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/3.176, allocations: 220.3 kB / 1.727 GB, free: 100.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/3.176, allocations: 17.59 kB / 1.727 GB, free: 100.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/3.176, allocations: 343.5 kB / 1.728 GB, free: 100.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/3.177, allocations: 329.4 kB / 1.728 GB, free: 100.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/3.177, allocations: 0.6037 MB / 1.728 GB, free: 100.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006803/3.178, allocations: 393.2 kB / 1.729 GB, free: 100.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/3.178, allocations: 1.469 kB / 1.729 GB, free: 100.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00997/3.188, allocations: 1.728 MB / 1.731 GB, free: 99.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004418/3.189, allocations: 2.494 MB / 1.733 GB, free: 97.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/3.189, allocations: 6.844 kB / 1.733 GB, free: 97.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/3.19, allocations: 416.1 kB / 1.733 GB, free: 97.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/3.191, allocations: 250.6 kB / 1.734 GB, free: 97.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008924/3.192, allocations: 0.9106 MB / 1.734 GB, free: 96.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002397/3.195, allocations: 287.1 kB / 1.735 GB, free: 96.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/3.195, allocations: 54.94 kB / 1.735 GB, free: 96.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/3.195, allocations: 3.156 kB / 1.735 GB, free: 96.85 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008777/3.204, allocations: 1.573 MB / 1.736 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/3.204, allocations: 11.02 kB / 1.736 GB, free: 96.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/3.205, allocations: 422.7 kB / 1.737 GB, free: 96.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/3.206, allocations: 249.4 kB / 1.737 GB, free: 96.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/3.207, allocations: 0.9036 MB / 1.738 GB, free: 96.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002163/3.209, allocations: 241 kB / 1.738 GB, free: 96.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/3.209, allocations: 53.73 kB / 1.738 GB, free: 96.25 MB / 0.698 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 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.000309/3.209, allocations: 158 kB / 1.738 GB, free: 96.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/3.21, allocations: 148.9 kB / 1.738 GB, free: 96.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/3.211, allocations: 0.9392 MB / 1.739 GB, free: 96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/3.211, allocations: 9.469 kB / 1.739 GB, free: 96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/3.211, allocations: 3.062 kB / 1.739 GB, free: 96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/3.212, allocations: 0.8128 MB / 1.74 GB, free: 95.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/3.216, allocations: 2.704 MB / 1.743 GB, free: 95.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/3.216, allocations: 6.094 kB / 1.743 GB, free: 95.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/3.217, allocations: 149.4 kB / 1.743 GB, free: 95.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/3.218, allocations: 416 kB / 1.743 GB, free: 95.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/3.218, allocations: 30.12 kB / 1.743 GB, free: 95.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007017/3.219, allocations: 0.9014 MB / 1.744 GB, free: 94.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/3.219, allocations: 10.53 kB / 1.744 GB, free: 94.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/3.221, allocations: 1.72 MB / 1.746 GB, free: 94.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/3.221, allocations: 393.4 kB / 1.746 GB, free: 93.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/3.221, allocations: 28.81 kB / 1.746 GB, free: 93.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/3.223, allocations: 146.5 kB / 1.747 GB, free: 93.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/3.223, allocations: 55.78 kB / 1.747 GB, free: 93.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/3.223, allocations: 47.94 kB / 1.747 GB, free: 93.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001055/3.224, allocations: 0.9611 MB / 1.748 GB, free: 93.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/3.224, allocations: 0 / 1.748 GB, free: 93.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002317/3.226, allocations: 0.9827 MB / 1.748 GB, free: 93.71 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003379/3.23, allocations: 4.077 MB / 1.752 GB, free: 91.45 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002182/3.232, allocations: 1.364 MB / 1.754 GB, free: 91.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/3.232, allocations: 5.562 kB / 1.754 GB, free: 91.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005634/3.233, allocations: 384 kB / 1.754 GB, free: 91.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/3.236, allocations: 0.7859 MB / 1.755 GB, free: 91.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/3.24, allocations: 2.352 MB / 1.757 GB, free: 90.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/3.24, allocations: 1.245 MB / 1.758 GB, free: 90.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001787/3.242, allocations: 465.3 kB / 1.759 GB, free: 89.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/3.243, allocations: 0.5547 MB / 1.759 GB, free: 89.98 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/3.243, allocations: 0 / 1.759 GB, free: 89.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07406/3.317, allocations: 57.27 MB / 1.815 GB, free: 87.64 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/3.317, allocations: 248.8 kB / 1.816 GB, free: 87.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/6.763, allocations: 0 / 1.816 GB, free: 87.3 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)