Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_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.001606/0.001606, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8524/0.8524, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 400.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008996/0.0008997, allocations: 93.28 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.833e-05, allocations: 3.75 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1554, allocations: 82.32 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.406, allocations: 396.6 MB / 1.028 GB, free: 196.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.406, allocations: 87.7 kB / 1.028 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.939/3.345, allocations: 0.5581 GB / 1.586 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.643e-06/3.345, allocations: 0 / 1.586 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002322/3.346, allocations: 45.16 kB / 1.586 GB, free: 103.1 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005001/3.351, allocations: 1.856 MB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/3.351, allocations: 14.41 kB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005405/3.351, allocations: 182.3 kB / 1.588 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/3.356, allocations: 0.6101 MB / 1.589 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003809/3.36, allocations: 1.778 MB / 1.59 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/3.36, allocations: 127.4 kB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00026/3.36, allocations: 114.8 kB / 1.591 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/3.363, allocations: 1.432 MB / 1.592 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/3.363, allocations: 5.125 kB / 1.592 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/3.363, allocations: 53.44 kB / 1.592 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.231e-05/3.363, allocations: 49.36 kB / 1.592 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/3.365, allocations: 1.08 MB / 1.593 GB, free: 101.4 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.009685/3.374, allocations: 6.996 MB / 1.6 GB, free: 98.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/3.375, allocations: 0.5818 MB / 1.601 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005471/3.376, allocations: 334.8 kB / 1.601 GB, free: 98.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/3.377, allocations: 1.267 MB / 1.602 GB, free: 96.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/3.377, allocations: 41.78 kB / 1.602 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.745e-06/3.377, allocations: 0 / 1.602 GB, free: 96.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.001888/3.379, allocations: 0.806 MB / 1.603 GB, free: 96.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/3.379, allocations: 114.2 kB / 1.603 GB, free: 96.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/3.381, allocations: 1.228 MB / 1.604 GB, free: 96.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/3.381, allocations: 42.92 kB / 1.604 GB, free: 96.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005322/3.382, allocations: 0.7044 MB / 1.605 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/3.382, allocations: 230.1 kB / 1.605 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/3.382, allocations: 15.34 kB / 1.605 GB, free: 95.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/3.382, allocations: 335 kB / 1.606 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/3.383, allocations: 299.2 kB / 1.606 GB, free: 95.51 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006316/3.383, allocations: 0.5795 MB / 1.606 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/3.384, allocations: 365.2 kB / 1.607 GB, free: 95.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/3.384, allocations: 7.828 kB / 1.607 GB, free: 95.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001886/3.386, allocations: 1.114 MB / 1.608 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004366/3.386, allocations: 2.489 MB / 1.61 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/3.386, allocations: 3.844 kB / 1.61 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00138/3.388, allocations: 440.8 kB / 1.611 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/3.389, allocations: 243.8 kB / 1.611 GB, free: 92.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009693/3.39, allocations: 1.02 MB / 1.612 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/3.392, allocations: 269.4 kB / 1.612 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/3.392, allocations: 56.58 kB / 1.612 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/3.392, allocations: 3.812 kB / 1.612 GB, free: 91.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/3.394, allocations: 0.9585 MB / 1.613 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/3.394, allocations: 9.5 kB / 1.613 GB, free: 91.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/3.395, allocations: 437.9 kB / 1.614 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/3.396, allocations: 245.4 kB / 1.614 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009429/3.397, allocations: 1.018 MB / 1.615 GB, free: 91.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/3.399, allocations: 239.9 kB / 1.615 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/3.399, allocations: 52.84 kB / 1.615 GB, free: 91.29 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 () * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.000273/3.4, allocations: 161.5 kB / 1.615 GB, free: 91.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/3.4, allocations: 150.2 kB / 1.615 GB, free: 91.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/3.402, allocations: 0.9222 MB / 1.616 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/3.402, allocations: 9.781 kB / 1.616 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/3.402, allocations: 3.531 kB / 1.616 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001112/3.403, allocations: 0.8078 MB / 1.617 GB, free: 90.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/3.408, allocations: 3.005 MB / 1.62 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/3.408, allocations: 3.906 kB / 1.62 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009075/3.409, allocations: 155.7 kB / 1.62 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/3.41, allocations: 411.5 kB / 1.621 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-05/3.41, allocations: 27.75 kB / 1.621 GB, free: 89.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/3.412, allocations: 1.092 MB / 1.622 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/3.412, allocations: 6.344 kB / 1.622 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/3.413, allocations: 1.255 MB / 1.623 GB, free: 88.72 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007688/3.414, allocations: 389.6 kB / 1.623 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/3.415, allocations: 13.75 kB / 1.623 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/3.416, allocations: 143 kB / 1.623 GB, free: 88.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/3.416, allocations: 56.62 kB / 1.624 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/3.417, allocations: 48.28 kB / 1.624 GB, free: 88.53 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001544/3.418, allocations: 0.9552 MB / 1.624 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.52e-07/3.418, allocations: 0 / 1.624 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003396/3.422, allocations: 0.9706 MB / 1.625 GB, free: 88.27 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) * 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 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.003736/3.425, allocations: 3.524 MB / 1.629 GB, free: 86.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002453/3.428, allocations: 1.342 MB / 1.63 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/3.428, allocations: 0 / 1.63 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001277/3.429, allocations: 473.4 kB / 1.631 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/3.433, allocations: 0.7746 MB / 1.631 GB, free: 86.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/3.439, allocations: 2.172 MB / 1.634 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/3.44, allocations: 1.239 MB / 1.635 GB, free: 84.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002412/3.442, allocations: 435.9 kB / 1.635 GB, free: 84.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/3.443, allocations: 0.5389 MB / 1.636 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/3.443, allocations: 0 / 1.636 GB, free: 84.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07824/3.521, allocations: 56.06 MB / 1.69 GB, free: 57.01 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/3.521, allocations: 236.5 kB / 1.691 GB, free: 56.69 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.854/7.375, allocations: 0 / 1.691 GB, free: 56.69 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)