Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.00142/0.001419, allocations: 99.86 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.001886/0.001887, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.077/2.077, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.827/1.827, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004992/0.0004993, allocations: 8 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3093, allocations: 82.3 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.8913/1.201, allocations: 109.3 MB / 0.6941 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.06903/1.27, allocations: 21.38 MB / 0.7149 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01252/1.282, allocations: 112.9 kB / 0.715 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0119/1.294, allocations: 1.461 MB / 0.7165 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.03568/1.33, allocations: 4.177 MB / 0.7206 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0225/1.353, allocations: 3.137 MB / 0.7236 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02341/1.376, allocations: 5.082 MB / 0.7286 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008629/1.385, allocations: 2.287 MB / 0.7308 GB, free: 6.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01189/1.397, allocations: 2.426 MB / 0.7332 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006403/1.403, allocations: 1.571 MB / 0.7347 GB, free: 3.961 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001584/1.405, allocations: 131.8 kB / 0.7348 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/1.417, allocations: 1.748 MB / 0.7366 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002797/1.42, allocations: 0.565 MB / 0.7371 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003486/1.424, allocations: 0.7291 MB / 0.7378 GB, free: 2.141 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01507/1.439, allocations: 4.557 MB / 0.7423 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.439, allocations: 0 / 0.7423 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.537e-06/1.439, allocations: 0 / 0.7423 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002488/1.439, allocations: 0 / 0.7423 GB, free: 13.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.01541/1.455, allocations: 3.349 MB / 0.7455 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.604e-05/1.455, allocations: 12.03 kB / 0.7455 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00222/1.457, allocations: 324.7 kB / 0.7459 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/1.474, allocations: 1.366 MB / 0.7472 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.488, allocations: 2.71 MB / 0.7498 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007476/1.488, allocations: 251.9 kB / 0.7501 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.49, allocations: 239.9 kB / 0.7503 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01903/1.509, allocations: 3.134 MB / 0.7534 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/1.509, allocations: 3.938 kB / 0.7534 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000755/1.51, allocations: 104 kB / 0.7535 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/1.51, allocations: 67.98 kB / 0.7535 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/1.528, allocations: 2.772 MB / 0.7562 GB, free: 14.86 MB / 0.5762 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.03975/1.568, allocations: 13.36 MB / 0.7693 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007035/1.575, allocations: 1.425 MB / 0.7707 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003193/1.578, allocations: 1.781 MB / 0.7724 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006078/1.584, allocations: 1.169 MB / 0.7736 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 6.553e-06/1.584, allocations: 0 / 0.7736 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126): time 0.0353/1.619, allocations: 4.234 MB / 0.7777 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004293/1.62, allocations: 0.5805 MB / 0.7783 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009104/1.629, allocations: 2.583 MB / 0.7808 GB, free: 4.449 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008509/1.63, allocations: 65.7 kB / 0.7809 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002754/1.633, allocations: 1.341 MB / 0.7822 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.634, allocations: 445.7 kB / 0.7826 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003318/1.635, allocations: 36 kB / 0.7826 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0003483/1.635, allocations: 369.9 kB / 0.783 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007136/1.642, allocations: 0.9642 MB / 0.7839 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008081/1.65, allocations: 1.544 MB / 0.7854 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/1.657, allocations: 1.097 MB / 0.7865 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.523e-05/1.658, allocations: 8 kB / 0.7865 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.02183/1.679, allocations: 3.106 MB / 0.7895 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.004686/1.684, allocations: 5.025 MB / 0.7944 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.036e-05/1.684, allocations: 16 kB / 0.7945 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004994/1.689, allocations: 0.7222 MB / 0.7952 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005207/1.695, allocations: 0.5109 MB / 0.7957 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/1.699, allocations: 1.798 MB / 0.7974 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009071/1.708, allocations: 0.5058 MB / 0.7979 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000899/1.709, allocations: 103.9 kB / 0.798 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.709, allocations: 6.188 kB / 0.798 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0185/1.728, allocations: 2.845 MB / 0.8008 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.951e-05/1.728, allocations: 12 kB / 0.8008 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/1.732, allocations: 0.7184 MB / 0.8015 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004964/1.737, allocations: 0.5031 MB / 0.802 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004243/1.741, allocations: 1.797 MB / 0.8038 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007909/1.749, allocations: 462.7 kB / 0.8042 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000871/1.75, allocations: 99.91 kB / 0.8043 GB, free: 11.55 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.003463/1.754, allocations: 0.6937 MB / 0.805 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001573/1.755, allocations: 272.7 kB / 0.8052 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.771, allocations: 2.604 MB / 0.8078 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.256e-05/1.772, allocations: 12 kB / 0.8078 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/1.772, allocations: 7.938 kB / 0.8078 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01086/1.782, allocations: 2.211 MB / 0.8099 GB, free: 5.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03189/1.814, allocations: 6.534 MB / 0.8163 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.996e-05/1.814, allocations: 8.656 kB / 0.8163 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/1.818, allocations: 295.5 kB / 0.8166 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005086/1.823, allocations: 0.705 MB / 0.8173 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005053/1.824, allocations: 52.08 kB / 0.8174 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004477/1.828, allocations: 1.797 MB / 0.8191 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.151e-05/1.828, allocations: 12.06 kB / 0.8191 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02282/1.851, allocations: 4.293 MB / 0.8233 GB, free: 7.297 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00351/1.855, allocations: 0.6884 MB / 0.824 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/1.856, allocations: 35.98 kB / 0.824 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006546/1.863, allocations: 279.5 kB / 0.8243 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005179/1.863, allocations: 116.7 kB / 0.8244 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004271/1.864, allocations: 71.92 kB / 0.8245 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.007854/1.872, allocations: 1.821 MB / 0.8262 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.182e-06/1.872, allocations: 0 / 0.8262 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.01252/1.884, allocations: 1.688 MB / 0.8279 GB, free: 2.578 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.03171/1.916, allocations: 7.418 MB / 0.8351 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02311/1.939, allocations: 3.589 MB / 0.8386 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.223e-05/1.939, allocations: 448 / 0.8386 GB, free: 7.312 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006149/1.946, allocations: 1.051 MB / 0.8397 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01254/1.958, allocations: 1.362 MB / 0.841 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03822/1.996, allocations: 15.79 MB / 0.8564 GB, free: 4.539 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/1.999, allocations: 1.781 MB / 0.8582 GB, free: 2.73 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.008596/2.008, allocations: 0.6842 MB / 0.8588 GB, free: 2.062 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003924/2.012, allocations: 1.159 MB / 0.86 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of SimCode: time 1.973e-06/2.012, allocations: 0 / 0.86 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9253/2.937, allocations: 88.98 MB / 0.9469 GB, free: 167.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000329/2.938, allocations: 268.2 kB / 0.9471 GB, free: 167 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/11.22, allocations: 4 kB / 0.9471 GB, free: 167 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: