Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.001114/0.001114, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8486/0.8486, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.71/1.71, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0009955/0.0009955, allocations: 93.22 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.992e-05/1.985e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.483, allocations: 82.3 MB / 0.6339 GB, free: 40.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.494, allocations: 396.6 MB / 1.021 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/1.494, allocations: 92.52 kB / 1.021 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.064/3.558, allocations: 0.5558 GB / 1.577 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/3.558, allocations: 0 / 1.577 GB, free: 22.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002346/3.559, allocations: 43.92 kB / 1.577 GB, free: 22.79 MB / 0.6823 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.005742/3.564, allocations: 1.908 MB / 1.579 GB, free: 20.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/3.564, allocations: 12.03 kB / 1.579 GB, free: 20.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/3.569, allocations: 0.6144 MB / 1.58 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/3.573, allocations: 1.79 MB / 1.581 GB, free: 18.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/3.573, allocations: 83.98 kB / 1.581 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/3.573, allocations: 68 kB / 1.582 GB, free: 18.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001942/3.575, allocations: 1.02 MB / 1.583 GB, free: 17.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/3.577, allocations: 1.284 MB / 1.584 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.037e-05/3.577, allocations: 0 / 1.584 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/3.577, allocations: 4 kB / 1.584 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.247e-05/3.578, allocations: 46.17 kB / 1.584 GB, free: 15.73 MB / 0.6823 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.008372/3.586, allocations: 6.507 MB / 1.59 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/3.587, allocations: 0.5005 MB / 1.591 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003894/3.587, allocations: 320.4 kB / 1.591 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/3.588, allocations: 1.267 MB / 1.592 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006264/3.589, allocations: 0.5036 MB / 1.593 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 3.437e-06/3.589, allocations: 3.938 kB / 1.593 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.002683/3.591, allocations: 0.9003 MB / 1.594 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/3.592, allocations: 487.1 kB / 1.594 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/3.593, allocations: 0.9877 MB / 1.595 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/3.593, allocations: 29.7 kB / 1.595 GB, free: 3.477 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/3.593, allocations: 0.7371 MB / 1.596 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/3.594, allocations: 220.8 kB / 1.596 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/3.594, allocations: 0 / 1.596 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/3.594, allocations: 337.9 kB / 1.596 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/3.594, allocations: 314.5 kB / 1.597 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/3.595, allocations: 0.6086 MB / 1.597 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/3.597, allocations: 0.4963 MB / 1.598 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/3.597, allocations: 0 / 1.598 GB, free: 0.6328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.4255/4.022, allocations: 1.259 MB / 1.599 GB, free: 98.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004226/4.023, allocations: 2.493 MB / 1.601 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/4.023, allocations: 5.844 kB / 1.601 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007064/4.023, allocations: 267.7 kB / 1.602 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/4.025, allocations: 269.8 kB / 1.602 GB, free: 95.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/4.026, allocations: 0.8922 MB / 1.603 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/4.029, allocations: 237.6 kB / 1.603 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/4.029, allocations: 60.55 kB / 1.603 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/4.029, allocations: 3.219 kB / 1.603 GB, free: 94.98 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004579/4.034, allocations: 1.112 MB / 1.604 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/4.034, allocations: 6.25 kB / 1.604 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/4.034, allocations: 273.8 kB / 1.604 GB, free: 94.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/4.036, allocations: 262.9 kB / 1.605 GB, free: 94.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/4.037, allocations: 0.8961 MB / 1.605 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/4.039, allocations: 205 kB / 1.606 GB, free: 94.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/4.039, allocations: 55.44 kB / 1.606 GB, free: 94.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003206/4.04, allocations: 132.7 kB / 1.606 GB, free: 94.32 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00278/4.042, allocations: 0.9177 MB / 1.607 GB, free: 94.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/4.043, allocations: 125.2 kB / 1.607 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/4.046, allocations: 0.994 MB / 1.608 GB, free: 94.11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/4.046, allocations: 12.78 kB / 1.608 GB, free: 94.11 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/4.046, allocations: 2.312 kB / 1.608 GB, free: 94.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002885/4.049, allocations: 0.9022 MB / 1.609 GB, free: 93.93 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005844/4.055, allocations: 3.173 MB / 1.612 GB, free: 92.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/4.055, allocations: 3.969 kB / 1.612 GB, free: 92.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009416/4.056, allocations: 167.7 kB / 1.612 GB, free: 92.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/4.056, allocations: 264.9 kB / 1.612 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/4.056, allocations: 21.86 kB / 1.612 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009122/4.057, allocations: 0.8875 MB / 1.613 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/4.057, allocations: 13.61 kB / 1.613 GB, free: 92.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/4.061, allocations: 1.817 MB / 1.615 GB, free: 91.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/4.062, allocations: 372.8 kB / 1.615 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/4.062, allocations: 15.8 kB / 1.615 GB, free: 91.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/4.064, allocations: 124.3 kB / 1.615 GB, free: 91.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/4.064, allocations: 67.98 kB / 1.615 GB, free: 91.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.368e-05/4.064, allocations: 47.98 kB / 1.616 GB, free: 91.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009735/4.065, allocations: 0.7493 MB / 1.616 GB, free: 91.47 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/4.065, allocations: 0 / 1.616 GB, free: 91.47 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003009/4.068, allocations: 0.988 MB / 1.617 GB, free: 91.41 MB / 0.6823 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005599/4.074, allocations: 4.172 MB / 1.621 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002285/4.076, allocations: 1.384 MB / 1.623 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/4.076, allocations: 2.938 kB / 1.623 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/4.077, allocations: 393.3 kB / 1.623 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/4.079, allocations: 0.5752 MB / 1.624 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/4.086, allocations: 2.387 MB / 1.626 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/4.086, allocations: 1.247 MB / 1.627 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002271/4.089, allocations: 409.8 kB / 1.628 GB, free: 87.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007431/4.089, allocations: 0.5479 MB / 1.628 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.212e-06/4.089, allocations: 2.406 kB / 1.628 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07187/4.161, allocations: 45.76 MB / 1.673 GB, free: 85.74 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/4.161, allocations: 188.9 kB / 1.673 GB, free: 85.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.538/7.7, allocations: 0 / 1.673 GB, free: 85.55 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)