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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002517/0.002517, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.977/1.977, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.813/1.813, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000559/0.0005591, allocations: 8 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3225, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.8129/1.136, allocations: 58.51 MB / 0.6444 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03082/1.166, allocations: 12.22 MB / 0.6564 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005929/1.172, allocations: 60.88 kB / 0.6564 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00537/1.178, allocations: 0.7831 MB / 0.6572 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0143/1.192, allocations: 2.226 MB / 0.6594 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/1.202, allocations: 1.894 MB / 0.6612 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009737/1.212, allocations: 2.654 MB / 0.6638 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003689/1.216, allocations: 1.163 MB / 0.6649 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005103/1.221, allocations: 1.269 MB / 0.6662 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/1.224, allocations: 0.8163 MB / 0.667 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005646/1.225, allocations: 66.75 kB / 0.667 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007376/1.232, allocations: 1.173 MB / 0.6682 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/1.233, allocations: 298.3 kB / 0.6685 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001778/1.235, allocations: 397.6 kB / 0.6688 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008945/1.244, allocations: 2.418 MB / 0.6712 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.244, allocations: 1.156 kB / 0.6712 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.489e-06/1.244, allocations: 0 / 0.6712 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001153/1.244, allocations: 0 / 0.6712 GB, free: 3.094 MB / 0.4981 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.01059/1.255, allocations: 1.916 MB / 0.6731 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 8.607e-05/1.255, allocations: 9.25 kB / 0.6731 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001181/1.256, allocations: 178.9 kB / 0.6732 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008225/1.265, allocations: 0.698 MB / 0.6739 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/1.271, allocations: 1.435 MB / 0.6753 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003579/1.272, allocations: 133 kB / 0.6755 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006777/1.272, allocations: 120.6 kB / 0.6756 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008346/1.281, allocations: 1.625 MB / 0.6772 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.829e-05/1.281, allocations: 4.969 kB / 0.6772 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/1.281, allocations: 53.72 kB / 0.6772 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/1.281, allocations: 37.97 kB / 0.6773 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009392/1.291, allocations: 1.46 MB / 0.6787 GB, free: 15.34 MB / 0.5137 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.03089/1.322, allocations: 7.241 MB / 0.6858 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004491/1.326, allocations: 0.806 MB / 0.6865 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002898/1.329, allocations: 1.276 MB / 0.6878 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/1.329, allocations: 45.05 kB / 0.6878 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 9.848e-06/1.33, allocations: 0 / 0.6878 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=68): time 0.01903/1.349, allocations: 2.216 MB / 0.69 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.349, allocations: 114.5 kB / 0.6901 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.354, allocations: 1.401 MB / 0.6915 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005113/1.354, allocations: 46.64 kB / 0.6915 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.356, allocations: 0.6879 MB / 0.6922 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008011/1.356, allocations: 236.7 kB / 0.6924 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.357, allocations: 14.59 kB / 0.6924 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002865/1.357, allocations: 340.5 kB / 0.6927 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/1.361, allocations: 0.4943 MB / 0.6932 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/1.364, allocations: 0.7608 MB / 0.694 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/1.368, allocations: 0.5426 MB / 0.6945 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.368, allocations: 2.312 kB / 0.6945 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.009214/1.377, allocations: 1.551 MB / 0.696 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.001704/1.379, allocations: 2.494 MB / 0.6985 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.379, allocations: 6.406 kB / 0.6985 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/1.382, allocations: 466.8 kB / 0.6989 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.384, allocations: 259.8 kB / 0.6992 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/1.387, allocations: 1.072 MB / 0.7002 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005025/1.392, allocations: 276.5 kB / 0.7005 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/1.393, allocations: 56.53 kB / 0.7005 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/1.393, allocations: 3.875 kB / 0.7005 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008318/1.401, allocations: 1.394 MB / 0.7019 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/1.401, allocations: 7.031 kB / 0.7019 GB, free: 220 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002689/1.404, allocations: 461.6 kB / 0.7023 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/1.406, allocations: 256.7 kB / 0.7026 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002798/1.409, allocations: 1.078 MB / 0.7036 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004446/1.414, allocations: 240.3 kB / 0.7039 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.414, allocations: 52.83 kB / 0.7039 GB, free: 14.99 MB / 0.5294 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 (82): * Single equations (assignments): 81 * 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 23} Notification: Performance of prepare postOptimizeDAE: time 0.002013/1.416, allocations: 453.5 kB / 0.7043 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008881/1.417, allocations: 148.9 kB / 0.7045 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007816/1.425, allocations: 1.324 MB / 0.7058 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/1.425, allocations: 11.28 kB / 0.7058 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.425, allocations: 256 / 0.7058 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005837/1.431, allocations: 1.133 MB / 0.7069 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.447, allocations: 3.443 MB / 0.7103 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.447, allocations: 8.469 kB / 0.7103 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/1.448, allocations: 159.8 kB / 0.7104 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002702/1.451, allocations: 453.6 kB / 0.7109 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/1.451, allocations: 22.56 kB / 0.7109 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/1.454, allocations: 1.078 MB / 0.7119 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/1.454, allocations: 6.5 kB / 0.7119 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009222/1.463, allocations: 1.634 MB / 0.7135 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003156/1.466, allocations: 411.4 kB / 0.7139 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.467, allocations: 19.59 kB / 0.7139 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00456/1.472, allocations: 156.7 kB / 0.7141 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/1.472, allocations: 54.81 kB / 0.7141 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003127/1.473, allocations: 51.98 kB / 0.7142 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004149/1.477, allocations: 0.9881 MB / 0.7152 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.21e-07/1.477, allocations: 3.094 kB / 0.7152 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008533/1.485, allocations: 0.8956 MB / 0.716 GB, free: 6.762 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (42): * Single equations (assignments): 39 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01284/1.498, allocations: 3.675 MB / 0.7196 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.51, allocations: 1.844 MB / 0.7214 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/1.51, allocations: 0 / 0.7214 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.513, allocations: 0.5373 MB / 0.7219 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007471/1.521, allocations: 0.7635 MB / 0.7227 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/1.54, allocations: 8.149 MB / 0.7307 GB, free: 7.438 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.542, allocations: 1.238 MB / 0.7319 GB, free: 6.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003672/1.545, allocations: 343.6 kB / 0.7322 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/1.547, allocations: 0.5617 MB / 0.7327 GB, free: 5.273 MB / 0.545 GB Notification: Performance of SimCode: time 1.754e-06/1.547, allocations: 0 / 0.7327 GB, free: 5.273 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9929/2.54, allocations: 49.05 MB / 0.7806 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004832/2.54, allocations: 266.7 kB / 0.7809 GB, free: 4.473 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.646/8.187, allocations: 0 / 0.7809 GB, free: 4.473 MB / 0.5919 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) Environment - environmentSimulation: