Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",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.001672/0.001672, 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.002029/0.002029, 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 2.613/2.613, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.832/1.832, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005437, allocations: 8 kB / 0.5069 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2916, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.8068/1.098, allocations: 109.4 MB / 0.6941 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.06487/1.163, allocations: 21.33 MB / 0.7149 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01082/1.174, allocations: 113.3 kB / 0.715 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01232/1.187, allocations: 1.456 MB / 0.7164 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.03929/1.226, allocations: 4.171 MB / 0.7205 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02299/1.249, allocations: 3.124 MB / 0.7236 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02492/1.274, allocations: 5.075 MB / 0.7285 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/1.285, allocations: 2.285 MB / 0.7307 GB, free: 6.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01262/1.298, allocations: 2.428 MB / 0.7331 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007644/1.306, allocations: 1.572 MB / 0.7347 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001852/1.308, allocations: 129.4 kB / 0.7348 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01343/1.321, allocations: 1.744 MB / 0.7365 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/1.324, allocations: 0.5691 MB / 0.737 GB, free: 2.879 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004506/1.329, allocations: 0.7324 MB / 0.7378 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01792/1.347, allocations: 4.557 MB / 0.7422 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.347, allocations: 0 / 0.7422 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.917e-06/1.347, allocations: 0 / 0.7422 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003598/1.347, allocations: 0 / 0.7422 GB, free: 13.64 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.0183/1.366, allocations: 3.358 MB / 0.7455 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 9.126e-05/1.366, allocations: 12.03 kB / 0.7455 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002221/1.368, allocations: 324.7 kB / 0.7458 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/1.388, allocations: 1.455 MB / 0.7472 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.4, allocations: 2.713 MB / 0.7499 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/1.4, allocations: 259.9 kB / 0.7501 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001232/1.402, allocations: 236 kB / 0.7503 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/1.418, allocations: 3.202 MB / 0.7535 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/1.418, allocations: 11.84 kB / 0.7535 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005997/1.419, allocations: 100 kB / 0.7536 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001765/1.419, allocations: 75.86 kB / 0.7537 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01642/1.435, allocations: 2.881 MB / 0.7565 GB, free: 14.62 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.05021/1.486, allocations: 13.72 MB / 0.7699 GB, free: 276 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008911/1.495, allocations: 1.508 MB / 0.7713 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003673/1.499, allocations: 1.777 MB / 0.7731 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007118/1.506, allocations: 1.208 MB / 0.7743 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 1.714e-05/1.506, allocations: 4.094 kB / 0.7743 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.1116/1.618, allocations: 11.83 MB / 0.7858 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009056/1.619, allocations: 0.5843 MB / 0.7864 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.631, allocations: 2.682 MB / 0.789 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.632, allocations: 61.7 kB / 0.7891 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003357/1.636, allocations: 1.329 MB / 0.7904 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001695/1.637, allocations: 449.5 kB / 0.7908 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/1.638, allocations: 36 kB / 0.7908 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004998/1.638, allocations: 369.9 kB / 0.7912 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007226/1.646, allocations: 0.9954 MB / 0.7921 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00799/1.654, allocations: 1.585 MB / 0.7937 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/1.663, allocations: 1.128 MB / 0.7948 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.993e-05/1.663, allocations: 8 kB / 0.7948 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.03571/1.698, allocations: 4.232 MB / 0.7989 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.005375/1.704, allocations: 5.237 MB / 0.8041 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-05/1.704, allocations: 12.38 kB / 0.8041 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007521/1.712, allocations: 1.172 MB / 0.8052 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004258/1.716, allocations: 471.2 kB / 0.8057 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007918/1.724, allocations: 2.382 MB / 0.808 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01/1.734, allocations: 411.2 kB / 0.8084 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.736, allocations: 111.9 kB / 0.8085 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/1.736, allocations: 7.938 kB / 0.8085 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03754/1.773, allocations: 3.956 MB / 0.8124 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/1.774, allocations: 15.94 kB / 0.8124 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0071/1.781, allocations: 1.165 MB / 0.8135 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004488/1.785, allocations: 459.2 kB / 0.8139 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008293/1.794, allocations: 2.382 MB / 0.8163 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00834/1.802, allocations: 372.9 kB / 0.8166 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009909/1.803, allocations: 99.91 kB / 0.8167 GB, free: 14.68 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (164): * Single equations (assignments): 161 * 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.003991/1.807, allocations: 0.7039 MB / 0.8174 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/1.809, allocations: 280.6 kB / 0.8177 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0229/1.832, allocations: 3.047 MB / 0.8207 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.686e-05/1.832, allocations: 16 kB / 0.8207 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.979e-05/1.832, allocations: 0 / 0.8207 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02068/1.853, allocations: 2.642 MB / 0.8232 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03233/1.885, allocations: 7.039 MB / 0.8301 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.609e-05/1.885, allocations: 8.25 kB / 0.8301 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/1.888, allocations: 283.6 kB / 0.8304 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005432/1.893, allocations: 1.026 MB / 0.8314 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/1.894, allocations: 51.95 kB / 0.8315 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/1.899, allocations: 2.156 MB / 0.8336 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-05/1.899, allocations: 8 kB / 0.8336 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03022/1.929, allocations: 5.018 MB / 0.8385 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004132/1.934, allocations: 0.6807 MB / 0.8391 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/1.936, allocations: 40 kB / 0.8392 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006908/1.943, allocations: 295.5 kB / 0.8395 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006068/1.943, allocations: 120.7 kB / 0.8396 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004458/1.944, allocations: 75.92 kB / 0.8396 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.006504/1.95, allocations: 1.894 MB / 0.8415 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.21e-07/1.95, allocations: 0 / 0.8415 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01267/1.963, allocations: 1.5 MB / 0.843 GB, free: 3.059 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (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 (80): * Single equations (assignments): 74 * 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 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03559/1.999, allocations: 7.904 MB / 0.8507 GB, free: 10.93 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02056/2.019, allocations: 3.764 MB / 0.8543 GB, free: 7.145 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.769e-05/2.019, allocations: 4.438 kB / 0.8544 GB, free: 7.141 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00623/2.026, allocations: 1.103 MB / 0.8554 GB, free: 6.043 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01269/2.038, allocations: 1.461 MB / 0.8569 GB, free: 4.605 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6848/2.723, allocations: 15.95 MB / 0.8724 GB, free: 199 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001742/2.725, allocations: 1.778 MB / 0.8742 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005062/2.73, allocations: 0.6541 MB / 0.8748 GB, free: 198.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/2.733, allocations: 1.17 MB / 0.876 GB, free: 198.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.483e-06/2.733, allocations: 0 / 0.876 GB, free: 198.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2668/2.999, allocations: 95.87 MB / 0.9696 GB, free: 147.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/3, allocations: 260.3 kB / 0.9698 GB, free: 147 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.517/12.52, allocations: 0 / 0.9698 GB, free: 147 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) Environment - environmentSimulation: