Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4996/0.4996, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.2 MB / 354.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 92.22 kB / 427.4 MB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003052, allocations: 11.98 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1401, allocations: 72.3 MB / 0.5689 GB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9912/1.131, allocations: 387.4 MB / 0.9472 GB, free: 79.88 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.132, allocations: 96.92 kB / 0.9473 GB, free: 79.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.205/3.337, allocations: 0.5621 GB / 1.509 GB, free: 70.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.277e-06/3.337, allocations: 1.031 kB / 1.509 GB, free: 70.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001811/3.337, allocations: 38.44 kB / 1.509 GB, free: 70.51 MB / 0.6042 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.006328/3.343, allocations: 2.131 MB / 1.511 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.746e-05/3.343, allocations: 9.828 kB / 1.511 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003603/3.344, allocations: 181.2 kB / 1.512 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005441/3.349, allocations: 0.6661 MB / 1.512 GB, free: 69.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00614/3.355, allocations: 1.801 MB / 1.514 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/3.356, allocations: 129.8 kB / 1.514 GB, free: 69.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/3.356, allocations: 118.7 kB / 1.514 GB, free: 69.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/3.361, allocations: 1.658 MB / 1.516 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/3.361, allocations: 4.219 kB / 1.516 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/3.361, allocations: 52.69 kB / 1.516 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/3.361, allocations: 49.05 kB / 1.516 GB, free: 69.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/3.366, allocations: 1.493 MB / 1.517 GB, free: 69.02 MB / 0.6042 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.01072/3.377, allocations: 7.086 MB / 1.524 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/3.379, allocations: 0.7742 MB / 1.525 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/3.38, allocations: 1.266 MB / 1.526 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/3.38, allocations: 45.94 kB / 1.526 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 4.368e-06/3.38, allocations: 0 / 1.526 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.02492/3.405, allocations: 3.746 MB / 1.53 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/3.405, allocations: 116.5 kB / 1.53 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/3.408, allocations: 1.269 MB / 1.531 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/3.408, allocations: 43.52 kB / 1.532 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/3.409, allocations: 0.6951 MB / 1.532 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/3.409, allocations: 232.2 kB / 1.532 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/3.409, allocations: 18.5 kB / 1.532 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000102/3.409, allocations: 336 kB / 1.533 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/3.411, allocations: 0.4945 MB / 1.533 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/3.414, allocations: 0.7864 MB / 1.534 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/3.416, allocations: 0.5417 MB / 1.535 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/3.416, allocations: 1.375 kB / 1.535 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.005496/3.421, allocations: 1.568 MB / 1.536 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004983/3.422, allocations: 2.501 MB / 1.538 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/3.422, allocations: 5.344 kB / 1.538 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/3.424, allocations: 0.5597 MB / 1.539 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/3.425, allocations: 240.8 kB / 1.539 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/3.427, allocations: 1.175 MB / 1.54 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/3.43, allocations: 276 kB / 1.541 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/3.431, allocations: 56.19 kB / 1.541 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/3.431, allocations: 7 kB / 1.541 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004834/3.435, allocations: 1.413 MB / 1.542 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/3.435, allocations: 7.188 kB / 1.542 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/3.437, allocations: 0.5639 MB / 1.543 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/3.439, allocations: 241.7 kB / 1.543 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/3.441, allocations: 1.164 MB / 1.544 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/3.443, allocations: 239.5 kB / 1.544 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/3.443, allocations: 54.34 kB / 1.544 GB, free: 59 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001159/3.445, allocations: 452.4 kB / 1.545 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/3.445, allocations: 145.9 kB / 1.545 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/3.449, allocations: 1.322 MB / 1.546 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/3.45, allocations: 15.86 kB / 1.546 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/3.45, allocations: 1.5 kB / 1.546 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003628/3.453, allocations: 1.187 MB / 1.547 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00829/3.461, allocations: 3.446 MB / 1.551 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/3.462, allocations: 3.719 kB / 1.551 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/3.462, allocations: 153.3 kB / 1.551 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/3.464, allocations: 0.5537 MB / 1.551 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/3.464, allocations: 22.61 kB / 1.551 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/3.466, allocations: 1.164 MB / 1.553 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/3.466, allocations: 3.875 kB / 1.553 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004381/3.471, allocations: 1.646 MB / 1.554 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/3.472, allocations: 393.6 kB / 1.555 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/3.472, allocations: 14.09 kB / 1.555 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/3.474, allocations: 144 kB / 1.555 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/3.474, allocations: 63.33 kB / 1.555 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-05/3.474, allocations: 36.73 kB / 1.555 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001637/3.476, allocations: 1.004 MB / 1.556 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/3.476, allocations: 0.5625 kB / 1.556 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003506/3.479, allocations: 0.9828 MB / 1.557 GB, free: 55.9 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * 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 (40): * Single equations (assignments): 37 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006686/3.486, allocations: 3.908 MB / 1.561 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.006497/3.492, allocations: 1.829 MB / 1.562 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/3.492, allocations: 0 / 1.562 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/3.494, allocations: 0.5386 MB / 1.563 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003907/3.498, allocations: 0.779 MB / 1.564 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/3.521, allocations: 13.52 MB / 1.577 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/3.522, allocations: 1.239 MB / 1.578 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002017/3.524, allocations: 340.3 kB / 1.578 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006926/3.525, allocations: 0.5627 MB / 1.579 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of SimCode: time 1.002e-06/3.525, allocations: 0 / 1.579 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08704/3.612, allocations: 55.33 MB / 1.633 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/3.612, allocations: 249.2 kB / 1.633 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.831/7.443, allocations: 0 / 1.633 GB, free: 42.37 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)