Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.001291/0.001291, 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.001365/0.001366, 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 1.581/1.581, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.036/1.036, allocations: 132.2 MB / 423.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003651, allocations: 8 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4976, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.05929/0.5569, allocations: 58.57 MB / 0.6402 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.5746, allocations: 12.24 MB / 0.6521 GB, free: 9.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.5773, allocations: 59.56 kB / 0.6522 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.58, allocations: 0.7889 MB / 0.6529 GB, free: 8.812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007717/0.5878, allocations: 2.232 MB / 0.6551 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006461/0.5943, allocations: 1.909 MB / 0.657 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00792/0.6022, allocations: 2.689 MB / 0.6596 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003775/0.606, allocations: 1.188 MB / 0.6608 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004849/0.6109, allocations: 1.273 MB / 0.662 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00252/0.6135, allocations: 0.84 MB / 0.6628 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.6139, allocations: 68 kB / 0.6629 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005645/0.6195, allocations: 1.178 MB / 0.664 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.6202, allocations: 302.8 kB / 0.6643 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.6213, allocations: 404.8 kB / 0.6647 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.6266, allocations: 2.451 MB / 0.6671 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6266, allocations: 0 / 0.6671 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.6266, allocations: 0 / 0.6671 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.994e-05/0.6267, allocations: 0 / 0.6671 GB, free: 10.28 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.006403/0.6331, allocations: 1.975 MB / 0.669 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.6332, allocations: 8.031 kB / 0.669 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004731/0.6336, allocations: 181.3 kB / 0.6692 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007672/0.6413, allocations: 0.6964 MB / 0.6699 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002752/0.6441, allocations: 1.456 MB / 0.6713 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.6443, allocations: 124 kB / 0.6714 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.6445, allocations: 128 kB / 0.6716 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003638/0.6481, allocations: 1.64 MB / 0.6732 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.6481, allocations: 7.938 kB / 0.6732 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.6483, allocations: 52 kB / 0.6732 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.6483, allocations: 39.94 kB / 0.6733 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004257/0.6526, allocations: 1.492 MB / 0.6747 GB, free: 2.242 MB / 0.4981 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.00972/0.6623, allocations: 7.02 MB / 0.6816 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.6645, allocations: 0.7913 MB / 0.6823 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/0.6658, allocations: 1.267 MB / 0.6836 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.6677, allocations: 0.6714 MB / 0.6842 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 2.325e-06/0.6677, allocations: 4 kB / 0.6842 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.009546/0.6772, allocations: 2.154 MB / 0.6863 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.6774, allocations: 325 kB / 0.6867 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.6796, allocations: 1.426 MB / 0.688 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.6798, allocations: 45.7 kB / 0.6881 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/0.6804, allocations: 0.6997 MB / 0.6888 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.6807, allocations: 236.6 kB / 0.689 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.6808, allocations: 20 kB / 0.689 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6809, allocations: 353.8 kB / 0.6894 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.6827, allocations: 0.5211 MB / 0.6899 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.6847, allocations: 0.8218 MB / 0.6907 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.6866, allocations: 0.6021 MB / 0.6913 GB, free: 400 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6866, allocations: 0 / 0.6913 GB, free: 400 kB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007166/0.6938, allocations: 1.825 MB / 0.693 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000967/0.6948, allocations: 2.527 MB / 0.6955 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.6948, allocations: 8 kB / 0.6955 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.6962, allocations: 367.2 kB / 0.6959 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.6978, allocations: 279.5 kB / 0.6961 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.6991, allocations: 0.9143 MB / 0.697 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.7017, allocations: 287.5 kB / 0.6973 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.7019, allocations: 55.95 kB / 0.6974 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7019, allocations: 4 kB / 0.6974 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006921/0.7088, allocations: 1.688 MB / 0.699 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.7089, allocations: 4 kB / 0.699 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.7101, allocations: 368.9 kB / 0.6994 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.7115, allocations: 279.5 kB / 0.6996 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.7126, allocations: 0.901 MB / 0.7005 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.7149, allocations: 254.8 kB / 0.7008 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.715, allocations: 55.95 kB / 0.7008 GB, free: 6.391 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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.0008045/0.7158, allocations: 461.9 kB / 0.7012 GB, free: 5.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.7161, allocations: 150.2 kB / 0.7014 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.7199, allocations: 1.275 MB / 0.7026 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.72, allocations: 8 kB / 0.7026 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.72, allocations: 0 / 0.7026 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003238/0.7232, allocations: 1.088 MB / 0.7037 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007601/0.7308, allocations: 3.349 MB / 0.707 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.7309, allocations: 4 kB / 0.707 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009793/0.7319, allocations: 164.1 kB / 0.7071 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001288/0.7332, allocations: 371 kB / 0.7075 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.598e-05/0.7333, allocations: 27.97 kB / 0.7075 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/0.7345, allocations: 0.8985 MB / 0.7084 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.7345, allocations: 11.92 kB / 0.7084 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005925/0.7405, allocations: 2.235 MB / 0.7106 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009888/0.7415, allocations: 410.8 kB / 0.711 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.7417, allocations: 23.98 kB / 0.711 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.7434, allocations: 159.9 kB / 0.7112 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.7436, allocations: 68.23 kB / 0.7112 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-05/0.7437, allocations: 39.95 kB / 0.7113 GB, free: 11.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00165/0.7453, allocations: 1.021 MB / 0.7123 GB, free: 10.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7454, allocations: 0 / 0.7123 GB, free: 10.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002905/0.7483, allocations: 0.9162 MB / 0.7131 GB, free: 9.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * 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.007627/0.7559, allocations: 4.4 MB / 0.7174 GB, free: 4.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006331/0.7623, allocations: 2.015 MB / 0.7194 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/0.7623, allocations: 0 / 0.7194 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.7642, allocations: 0.5721 MB / 0.72 GB, free: 2.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004388/0.7686, allocations: 0.7807 MB / 0.7207 GB, free: 1.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009841/0.7785, allocations: 8.249 MB / 0.7288 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008411/0.7794, allocations: 1.246 MB / 0.73 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001985/0.7814, allocations: 371.6 kB / 0.7304 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008625/0.7822, allocations: 0.5851 MB / 0.7309 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of SimCode: time 6.12e-07/0.7823, allocations: 0 / 0.7309 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5373/1.32, allocations: 49.68 MB / 0.7794 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/1.32, allocations: 266.2 kB / 0.7797 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.255/6.575, allocations: 8 kB / 0.7797 GB, free: 5.293 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: