Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001967/0.001967, allocations: 177.1 kB / 7.46 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5931/0.5931, allocations: 133.5 MB / 141.4 MB, free: 15.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.116/1.116, allocations: 221.3 MB / 395 MB, free: 10.16 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008621/0.0008622, allocations: 98.58 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.622e-06/6.662e-06, allocations: 2.438 kB / 0.5528 GB, free: 89.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.73/0.8341, allocations: 396.2 MB / 1.02 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.8344, allocations: 92.42 kB / 1.02 GB, free: 237.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.364/2.198, allocations: 0.5585 GB / 1.579 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001317/2.198, allocations: 43 kB / 1.579 GB, free: 102.8 MB / 0.6823 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.002966/2.201, allocations: 1.867 MB / 1.581 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/2.201, allocations: 10.81 kB / 1.581 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/2.206, allocations: 0.707 MB / 1.581 GB, free: 102 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/2.209, allocations: 1.81 MB / 1.583 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-05/2.209, allocations: 81.59 kB / 1.583 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/2.209, allocations: 68.94 kB / 1.583 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001626/2.21, allocations: 1.037 MB / 1.584 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/2.212, allocations: 1.303 MB / 1.586 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/2.212, allocations: 0 / 1.586 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/2.212, allocations: 6.75 kB / 1.586 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/2.212, allocations: 48.53 kB / 1.586 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00798/2.22, allocations: 7.379 MB / 1.593 GB, free: 97.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/2.221, allocations: 0.5498 MB / 1.593 GB, free: 97.75 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/2.221, allocations: 339.3 kB / 1.594 GB, free: 97.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009156/2.222, allocations: 1.264 MB / 1.595 GB, free: 96.33 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/2.222, allocations: 50.03 kB / 1.595 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/2.222, allocations: 3.625 kB / 1.595 GB, free: 96.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.001733/2.224, allocations: 0.8607 MB / 1.596 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/2.224, allocations: 110.2 kB / 1.596 GB, free: 96.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/2.225, allocations: 0.9705 MB / 1.597 GB, free: 95.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.957e-05/2.225, allocations: 29.52 kB / 1.597 GB, free: 95.87 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/2.226, allocations: 0.5192 MB / 1.597 GB, free: 95.56 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/2.226, allocations: 225.5 kB / 1.598 GB, free: 95.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/2.226, allocations: 0 / 1.598 GB, free: 95.42 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.296e-05/2.226, allocations: 339.5 kB / 1.598 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/2.226, allocations: 297.3 kB / 1.598 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/2.227, allocations: 0.5819 MB / 1.599 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/2.228, allocations: 415.1 kB / 1.599 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/2.228, allocations: 3.938 kB / 1.599 GB, free: 94.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002034/2.23, allocations: 1.119 MB / 1.6 GB, free: 94.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003987/2.23, allocations: 2.451 MB / 1.603 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.23, allocations: 14.64 kB / 1.603 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009072/2.231, allocations: 450.2 kB / 1.603 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/2.233, allocations: 239.5 kB / 1.603 GB, free: 92.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/2.234, allocations: 1.16 MB / 1.604 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/2.236, allocations: 240.9 kB / 1.605 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/2.236, allocations: 54.59 kB / 1.605 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-06/2.236, allocations: 3.062 kB / 1.605 GB, free: 91.55 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001858/2.238, allocations: 0.9773 MB / 1.606 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/2.238, allocations: 7.5 kB / 1.606 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008215/2.239, allocations: 448.2 kB / 1.606 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/2.24, allocations: 247.1 kB / 1.606 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/2.241, allocations: 1.156 MB / 1.607 GB, free: 90.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/2.243, allocations: 197.4 kB / 1.608 GB, free: 90.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.269e-05/2.243, allocations: 55.38 kB / 1.608 GB, free: 90.94 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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 {5 24} Notification: Performance of prepare postOptimizeDAE: time 0.0001838/2.243, allocations: 131.9 kB / 1.608 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/2.244, allocations: 127 kB / 1.608 GB, free: 90.76 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/2.247, allocations: 1.064 MB / 1.609 GB, free: 90.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/2.247, allocations: 10.03 kB / 1.609 GB, free: 90.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/2.247, allocations: 3.156 kB / 1.609 GB, free: 90.67 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003131/2.25, allocations: 0.9431 MB / 1.61 GB, free: 90.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/2.255, allocations: 2.961 MB / 1.613 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/2.255, allocations: 2.344 kB / 1.613 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000906/2.256, allocations: 160.7 kB / 1.613 GB, free: 89.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008075/2.256, allocations: 431.7 kB / 1.613 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/2.257, allocations: 21.86 kB / 1.613 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/2.258, allocations: 1.141 MB / 1.615 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.258, allocations: 11.31 kB / 1.615 GB, free: 89.04 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001654/2.259, allocations: 1.286 MB / 1.616 GB, free: 88.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/2.26, allocations: 376 kB / 1.616 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/2.26, allocations: 7 kB / 1.616 GB, free: 88.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/2.262, allocations: 137.2 kB / 1.616 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.776e-05/2.262, allocations: 49.36 kB / 1.616 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.859e-05/2.262, allocations: 46.84 kB / 1.616 GB, free: 88.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007567/2.263, allocations: 0.7414 MB / 1.617 GB, free: 88.19 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002236/2.265, allocations: 0.9836 MB / 1.618 GB, free: 88.01 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/2.266, allocations: 0.896 MB / 1.619 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001996/2.268, allocations: 1.304 MB / 1.62 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/2.268, allocations: 0 / 1.62 GB, free: 87.76 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005761/2.269, allocations: 376.8 kB / 1.621 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/2.271, allocations: 0.552 MB / 1.621 GB, free: 87.75 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/2.274, allocations: 1.854 MB / 1.623 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008408/2.275, allocations: 1.38 MB / 1.624 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of SimCode: time 4.9e-07/2.275, allocations: 3.656 kB / 1.624 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.0491/2.324, allocations: 40.35 MB / 1.664 GB, free: 84.64 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)