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: translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 102.7 kB / 16.4 MB, free: 6.461 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.001195/0.001195, allocations: 192.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8128/0.8128, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.88 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1908, allocations: 80.92 MB / 0.6653 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.07237/0.2633, allocations: 69.91 MB / 0.7336 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.2888, allocations: 14.45 MB / 0.7477 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003925/0.2928, allocations: 71.62 kB / 0.7478 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003656/0.2965, allocations: 0.9199 MB / 0.7487 GB, free: 140 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.486/0.7825, allocations: 2.544 MB / 0.7511 GB, free: 21.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006352/0.7889, allocations: 1.977 MB / 0.7531 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009872/0.7988, allocations: 4.622 MB / 0.7576 GB, free: 21.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004221/0.8031, allocations: 1.608 MB / 0.7592 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00679/0.8099, allocations: 1.806 MB / 0.7609 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.8137, allocations: 1.274 MB / 0.7622 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007991/0.8146, allocations: 192.9 kB / 0.7623 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006447/0.821, allocations: 1.978 MB / 0.7643 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009528/0.822, allocations: 466.3 kB / 0.7647 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.8244, allocations: 1.015 MB / 0.7657 GB, free: 20.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008326/0.8327, allocations: 3.502 MB / 0.7691 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8328, allocations: 0 / 0.7691 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8328, allocations: 5.312 kB / 0.7691 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.000104/0.8329, allocations: 0 / 0.7691 GB, free: 19.97 MB / 0.5762 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.006233/0.8391, allocations: 2.305 MB / 0.7714 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8392, allocations: 9.828 kB / 0.7714 GB, free: 18.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005263/0.8445, allocations: 0.6466 MB / 0.772 GB, free: 18.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003633/0.8482, allocations: 1.578 MB / 0.7736 GB, free: 18.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.8484, allocations: 130.6 kB / 0.7737 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000272/0.8487, allocations: 122.9 kB / 0.7738 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004416/0.8531, allocations: 1.608 MB / 0.7754 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.8531, allocations: 5.375 kB / 0.7754 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.8533, allocations: 54.05 kB / 0.7754 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.436e-05/0.8534, allocations: 33.81 kB / 0.7755 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004648/0.8581, allocations: 1.425 MB / 0.7769 GB, free: 17.95 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.01103/0.8691, allocations: 7.164 MB / 0.7839 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/0.8714, allocations: 0.7989 MB / 0.7846 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.873, allocations: 483.8 kB / 0.7851 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.874, allocations: 1.263 MB / 0.7863 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.874, allocations: 50.84 kB / 0.7864 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.935e-06/0.8741, allocations: 1.031 kB / 0.7864 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.009796/0.8839, allocations: 2.107 MB / 0.7884 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.8839, allocations: 123.6 kB / 0.7886 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002255/0.8862, allocations: 1.372 MB / 0.7899 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.8865, allocations: 39.86 kB / 0.7899 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/0.887, allocations: 0.6942 MB / 0.7906 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.8873, allocations: 239 kB / 0.7908 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.8876, allocations: 221.2 kB / 0.791 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.8877, allocations: 339.9 kB / 0.7914 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.8894, allocations: 492.2 kB / 0.7918 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.8912, allocations: 0.746 MB / 0.7926 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.8944, allocations: 1.098 MB / 0.7936 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.8944, allocations: 7.156 kB / 0.7937 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004829/0.8993, allocations: 1.497 MB / 0.7951 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.8993, allocations: 9.969 kB / 0.7951 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.8993, allocations: 9.031 kB / 0.7951 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.9008, allocations: 457.9 kB / 0.7956 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.9021, allocations: 249.1 kB / 0.7958 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.9035, allocations: 1.052 MB / 0.7968 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.906, allocations: 217.5 kB / 0.797 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.9061, allocations: 52.48 kB / 0.7971 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002254/0.9084, allocations: 0.7745 MB / 0.7978 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001806/0.9102, allocations: 0.7337 MB / 0.7986 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003123/0.9134, allocations: 1.093 MB / 0.7996 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.991e-06/0.9134, allocations: 2.656 kB / 0.7996 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004693/0.9181, allocations: 1.502 MB / 0.8011 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.9181, allocations: 8.281 kB / 0.8011 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.9181, allocations: 8.031 kB / 0.8011 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.9196, allocations: 449.2 kB / 0.8015 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.9209, allocations: 250.8 kB / 0.8018 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.9222, allocations: 1.056 MB / 0.8028 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.9246, allocations: 189.5 kB / 0.803 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.9248, allocations: 52.36 kB / 0.803 GB, free: 2.238 MB / 0.5762 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003804/0.9252, allocations: 237.9 kB / 0.8033 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004135/0.9256, allocations: 146.4 kB / 0.8034 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003894/0.9295, allocations: 1.27 MB / 0.8047 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.9295, allocations: 17.36 kB / 0.8047 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.9295, allocations: 7.25 kB / 0.8047 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003186/0.9327, allocations: 1.086 MB / 0.8057 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008633/0.9414, allocations: 3.389 MB / 0.809 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.9414, allocations: 2.906 kB / 0.809 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/0.9424, allocations: 152.1 kB / 0.8092 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.9439, allocations: 428.2 kB / 0.8096 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.944, allocations: 23.97 kB / 0.8096 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/0.9456, allocations: 1.06 MB / 0.8107 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.9456, allocations: 6.531 kB / 0.8107 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004378/0.95, allocations: 1.353 MB / 0.812 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.9511, allocations: 355.8 kB / 0.8123 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005864/0.9517, allocations: 24 kB / 0.8123 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.9538, allocations: 113 kB / 0.8125 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.954, allocations: 55.59 kB / 0.8125 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.9541, allocations: 43.95 kB / 0.8126 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002147/0.9563, allocations: 0.981 MB / 0.8135 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9563, allocations: 0 / 0.8135 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003996/0.9603, allocations: 0.8889 MB / 0.8144 GB, free: 8.57 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/0.9622, allocations: 0.5599 MB / 0.8149 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006513/0.9687, allocations: 1.78 MB / 0.8167 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.9688, allocations: 0 / 0.8167 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00182/0.9706, allocations: 0.5226 MB / 0.8172 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/0.9753, allocations: 0.8202 MB / 0.818 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006838/0.9821, allocations: 2.558 MB / 0.8205 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/0.9835, allocations: 1.206 MB / 0.8216 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006947/0.9842, allocations: 142.7 kB / 0.8218 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/0.9842, allocations: 0 / 0.8218 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of Templates: time 0.05382/1.038, allocations: 35.99 MB / 0.8569 GB, free: 13.34 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)