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.00118/0.00118, allocations: 177.5 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4911/0.4911, allocations: 90.91 MB / 99.34 MB, free: 2.207 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 221.5 MB / 343.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008136/0.0008135, allocations: 103.8 kB / 415.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.903e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1594, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.322, allocations: 386.6 MB / 0.9312 GB, free: 93.82 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002116/1.322, allocations: 89.14 kB / 0.9313 GB, free: 93.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.124/3.445, allocations: 0.5576 GB / 1.489 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/3.445, allocations: 0 / 1.489 GB, free: 76.07 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001803/3.446, allocations: 44.73 kB / 1.489 GB, free: 76.07 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.004303/3.45, allocations: 1.864 MB / 1.491 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/3.45, allocations: 14.78 kB / 1.491 GB, free: 75.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/3.455, allocations: 0.6644 MB / 1.491 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/3.459, allocations: 1.778 MB / 1.493 GB, free: 75.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/3.459, allocations: 92.77 kB / 1.493 GB, free: 75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001969/3.459, allocations: 70.23 kB / 1.493 GB, free: 75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002269/3.462, allocations: 1.027 MB / 1.494 GB, free: 74.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/3.464, allocations: 1.295 MB / 1.496 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/3.464, allocations: 3.281 kB / 1.496 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/3.464, allocations: 6.953 kB / 1.496 GB, free: 74.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.328e-05/3.464, allocations: 55.44 kB / 1.496 GB, free: 74.73 MB / 0.6042 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.009381/3.474, allocations: 6.812 MB / 1.502 GB, free: 71.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/3.475, allocations: 0.5793 MB / 1.503 GB, free: 71.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003873/3.475, allocations: 324.9 kB / 1.503 GB, free: 71.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009971/3.476, allocations: 1.266 MB / 1.504 GB, free: 70.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/3.476, allocations: 43.38 kB / 1.504 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/3.476, allocations: 3.25 kB / 1.504 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66): time 0.002728/3.479, allocations: 0.9342 MB / 1.505 GB, free: 70.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/3.479, allocations: 113.6 kB / 1.505 GB, free: 69.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/3.48, allocations: 0.9677 MB / 1.506 GB, free: 69.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.846e-05/3.48, allocations: 28.8 kB / 1.506 GB, free: 69.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005462/3.481, allocations: 0.7141 MB / 1.507 GB, free: 69.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/3.481, allocations: 221.2 kB / 1.507 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/3.481, allocations: 2.906 kB / 1.507 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.841e-05/3.481, allocations: 337.8 kB / 1.508 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/3.482, allocations: 302.8 kB / 1.508 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005925/3.482, allocations: 0.577 MB / 1.509 GB, free: 68.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/3.484, allocations: 492.8 kB / 1.509 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/3.484, allocations: 2.312 kB / 1.509 GB, free: 68.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002997/3.487, allocations: 1.192 MB / 1.51 GB, free: 68.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004231/3.488, allocations: 2.467 MB / 1.513 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/3.488, allocations: 5.469 kB / 1.513 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009505/3.488, allocations: 446 kB / 1.513 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/3.49, allocations: 239.2 kB / 1.513 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/3.491, allocations: 1.139 MB / 1.514 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/3.494, allocations: 224.2 kB / 1.515 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/3.494, allocations: 53.58 kB / 1.515 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/3.494, allocations: 8.516 kB / 1.515 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002778/3.496, allocations: 1.046 MB / 1.516 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/3.496, allocations: 7.5 kB / 1.516 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009073/3.497, allocations: 448.7 kB / 1.516 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/3.499, allocations: 238.9 kB / 1.516 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/3.5, allocations: 1.129 MB / 1.517 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/3.502, allocations: 190.1 kB / 1.518 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/3.502, allocations: 53.73 kB / 1.518 GB, free: 64.93 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 () * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0002838/3.503, allocations: 138.8 kB / 1.518 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002449/3.505, allocations: 0.9296 MB / 1.519 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/3.505, allocations: 128.4 kB / 1.519 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/3.51, allocations: 1.118 MB / 1.52 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/3.51, allocations: 12.31 kB / 1.52 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/3.51, allocations: 0 / 1.52 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003585/3.513, allocations: 1.016 MB / 1.521 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005458/3.519, allocations: 3.02 MB / 1.524 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/3.519, allocations: 3.844 kB / 1.524 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008225/3.52, allocations: 154.1 kB / 1.524 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007968/3.52, allocations: 434 kB / 1.524 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.09e-05/3.52, allocations: 15.56 kB / 1.524 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/3.522, allocations: 1.14 MB / 1.526 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/3.522, allocations: 4.719 kB / 1.526 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/3.524, allocations: 1.344 MB / 1.527 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006538/3.525, allocations: 368.9 kB / 1.527 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/3.525, allocations: 12.52 kB / 1.527 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/3.527, allocations: 121 kB / 1.527 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/3.527, allocations: 59.75 kB / 1.527 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/3.527, allocations: 46.2 kB / 1.527 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008786/3.528, allocations: 0.7352 MB / 1.528 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/3.528, allocations: 0 / 1.528 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003023/3.531, allocations: 0.9868 MB / 1.529 GB, free: 61.88 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) * 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.004298/3.535, allocations: 3.614 MB / 1.533 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002268/3.537, allocations: 1.282 MB / 1.534 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/3.537, allocations: 0 / 1.534 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005913/3.538, allocations: 380.8 kB / 1.534 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/3.541, allocations: 0.5808 MB / 1.535 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005584/3.546, allocations: 2.186 MB / 1.537 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/3.547, allocations: 1.237 MB / 1.538 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001791/3.549, allocations: 366.4 kB / 1.539 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/3.549, allocations: 0.5253 MB / 1.539 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/3.549, allocations: 0 / 1.539 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08117/3.63, allocations: 46.41 MB / 1.584 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/3.631, allocations: 182.5 kB / 1.585 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.315/6.946, allocations: 0 / 1.585 GB, free: 55.93 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)