Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_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.01371/0.01371, allocations: 174.3 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.146/1.146, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.1/2.1, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001672/0.001672, allocations: 92.2 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.0005441, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6272/0.6278, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.251/1.879, allocations: 397.1 MB / 1.037 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/1.88, allocations: 94.83 kB / 1.037 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.041/5.921, allocations: 0.56 GB / 1.597 GB, free: 97.58 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.017e-06/5.921, allocations: 0 / 1.597 GB, free: 97.58 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000447/5.922, allocations: 45.94 kB / 1.597 GB, free: 97.58 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.01267/5.934, allocations: 2.125 MB / 1.599 GB, free: 96.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001008/5.934, allocations: 9.25 kB / 1.599 GB, free: 96.86 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001404/5.936, allocations: 176.1 kB / 1.6 GB, free: 96.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/5.946, allocations: 0.668 MB / 1.6 GB, free: 96.72 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009159/5.955, allocations: 1.802 MB / 1.602 GB, free: 96.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004062/5.956, allocations: 127 kB / 1.602 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007657/5.956, allocations: 119.2 kB / 1.602 GB, free: 96.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009605/5.966, allocations: 1.66 MB / 1.604 GB, free: 96.11 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/5.966, allocations: 1.406 kB / 1.604 GB, free: 96.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005846/5.967, allocations: 49.84 kB / 1.604 GB, free: 96.11 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001354/5.967, allocations: 58 kB / 1.604 GB, free: 96.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/5.977, allocations: 1.496 MB / 1.605 GB, free: 96.09 MB / 0.6823 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.02243/6, allocations: 7.082 MB / 1.612 GB, free: 92.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004303/6.004, allocations: 0.7672 MB / 1.613 GB, free: 92.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/6.006, allocations: 1.27 MB / 1.614 GB, free: 91.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.899e-05/6.006, allocations: 51.42 kB / 1.614 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 8.246e-06/6.006, allocations: 0 / 1.614 GB, free: 91.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.0432/6.05, allocations: 3.747 MB / 1.618 GB, free: 91.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/6.05, allocations: 115.2 kB / 1.618 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/6.055, allocations: 1.267 MB / 1.619 GB, free: 90.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003378/6.055, allocations: 43.95 kB / 1.619 GB, free: 90.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/6.056, allocations: 0.6983 MB / 1.62 GB, free: 90.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005233/6.057, allocations: 227.2 kB / 1.62 GB, free: 90.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/6.057, allocations: 17.66 kB / 1.62 GB, free: 90.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00014/6.057, allocations: 340.6 kB / 1.621 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/6.061, allocations: 0.4915 MB / 1.621 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/6.065, allocations: 0.7852 MB / 1.622 GB, free: 89.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003657/6.068, allocations: 0.5455 MB / 1.623 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/6.068, allocations: 0 / 1.623 GB, free: 89.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.009663/6.078, allocations: 1.572 MB / 1.624 GB, free: 89.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007606/6.079, allocations: 2.493 MB / 1.626 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/6.079, allocations: 10.06 kB / 1.626 GB, free: 87.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/6.082, allocations: 0.5611 MB / 1.627 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/6.085, allocations: 241.5 kB / 1.627 GB, free: 87.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/6.088, allocations: 1.174 MB / 1.628 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005246/6.094, allocations: 279 kB / 1.629 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003292/6.094, allocations: 48.41 kB / 1.629 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/6.094, allocations: 5.156 kB / 1.629 GB, free: 86.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00868/6.103, allocations: 1.415 MB / 1.63 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/6.103, allocations: 11.8 kB / 1.63 GB, free: 86.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/6.106, allocations: 0.5644 MB / 1.631 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/6.109, allocations: 238.5 kB / 1.631 GB, free: 86.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/6.112, allocations: 1.167 MB / 1.632 GB, free: 86.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/6.117, allocations: 237.2 kB / 1.632 GB, free: 86.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/6.117, allocations: 57.55 kB / 1.632 GB, free: 86.07 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: 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.001755/6.119, allocations: 450.7 kB / 1.633 GB, free: 85.88 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008441/6.12, allocations: 147.6 kB / 1.633 GB, free: 85.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/6.127, allocations: 1.315 MB / 1.634 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.079e-05/6.127, allocations: 6.938 kB / 1.634 GB, free: 85.72 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/6.127, allocations: 9.25 kB / 1.634 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006734/6.133, allocations: 1.19 MB / 1.635 GB, free: 85.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01646/6.15, allocations: 3.445 MB / 1.639 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/6.15, allocations: 3.938 kB / 1.639 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/6.152, allocations: 144.4 kB / 1.639 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/6.155, allocations: 0.5532 MB / 1.639 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/6.155, allocations: 28.8 kB / 1.639 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00333/6.159, allocations: 1.165 MB / 1.641 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/6.159, allocations: 7.281 kB / 1.641 GB, free: 84.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/6.167, allocations: 1.646 MB / 1.642 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00223/6.17, allocations: 389.4 kB / 1.643 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/6.171, allocations: 17.62 kB / 1.643 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004231/6.175, allocations: 142.8 kB / 1.643 GB, free: 83.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/6.175, allocations: 55.53 kB / 1.643 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/6.176, allocations: 42.94 kB / 1.643 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.004035/6.18, allocations: 0.9968 MB / 1.644 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.276e-06/6.18, allocations: 0 / 1.644 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007859/6.188, allocations: 0.9913 MB / 1.645 GB, free: 82.97 MB / 0.6823 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.01365/6.201, allocations: 3.908 MB / 1.649 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01213/6.214, allocations: 1.827 MB / 1.65 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.5e-05/6.214, allocations: 0 / 1.65 GB, free: 80.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003645/6.217, allocations: 0.5415 MB / 1.651 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008183/6.226, allocations: 0.777 MB / 1.652 GB, free: 80.76 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05227/6.278, allocations: 13.52 MB / 1.665 GB, free: 73.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/6.28, allocations: 1.239 MB / 1.666 GB, free: 72.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00403/6.284, allocations: 342 kB / 1.666 GB, free: 72.84 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/6.285, allocations: 0.5553 MB / 1.667 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of SimCode: time 1.684e-06/6.286, allocations: 1.969 kB / 1.667 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/6.458, allocations: 55.32 MB / 1.721 GB, free: 69.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/6.458, allocations: 253.6 kB / 1.721 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.898/13.36, allocations: 0 / 1.721 GB, free: 69.54 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)