Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.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/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/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.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear") [: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.003497/0.003497, allocations: 180.5 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7259/0.7259, allocations: 130.6 MB / 138.5 MB, free: 2.207 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.664/1.664, allocations: 221.4 MB / 391.4 MB, free: 13.05 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.001021/0.001021, allocations: 97.3 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.915e-06, allocations: 0 / 0.5479 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2081, allocations: 81.58 MB / 0.6276 GB, free: 18.21 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.409/1.617, allocations: 398.3 MB / 1.017 GB, free: 214 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/1.617, allocations: 87.95 kB / 1.017 GB, free: 213.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.211/4.828, allocations: 0.7792 GB / 1.796 GB, free: 93.72 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003962/4.829, allocations: 54.38 kB / 1.796 GB, free: 93.71 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.006772/4.835, allocations: 2.001 MB / 1.798 GB, free: 92.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/4.835, allocations: 6.156 kB / 1.798 GB, free: 92.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004155/4.84, allocations: 0.5983 MB / 1.798 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03725/4.877, allocations: 14.39 MB / 1.813 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/4.877, allocations: 33.5 kB / 1.813 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005226/4.878, allocations: 70.12 kB / 1.813 GB, free: 91.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002427/4.88, allocations: 0.8749 MB / 1.813 GB, free: 91.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/4.883, allocations: 1.069 MB / 1.814 GB, free: 91.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/4.883, allocations: 5.469 kB / 1.815 GB, free: 91.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/4.883, allocations: 3.906 kB / 1.815 GB, free: 91.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/4.883, allocations: 26.44 kB / 1.815 GB, free: 91.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008828/4.892, allocations: 5.708 MB / 1.82 GB, free: 88.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/4.893, allocations: 0.7107 MB / 1.821 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/4.893, allocations: 356.2 kB / 1.821 GB, free: 88.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003978/4.897, allocations: 2.738 MB / 1.824 GB, free: 87.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/4.897, allocations: 37.69 kB / 1.824 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.685e-06/4.897, allocations: 0 / 1.824 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002837/4.9, allocations: 1.012 MB / 1.825 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/4.9, allocations: 59.53 kB / 1.825 GB, free: 86.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/4.902, allocations: 1.211 MB / 1.826 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/4.902, allocations: 33.36 kB / 1.826 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/4.902, allocations: 0.5456 MB / 1.827 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/4.903, allocations: 194.3 kB / 1.827 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/4.903, allocations: 7.141 kB / 1.827 GB, free: 86.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/4.903, allocations: 343.1 kB / 1.827 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/4.903, allocations: 315 kB / 1.827 GB, free: 85.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/4.904, allocations: 0.7389 MB / 1.828 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/4.906, allocations: 0.5303 MB / 1.829 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/4.906, allocations: 3.844 kB / 1.829 GB, free: 85.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003468/4.909, allocations: 1.366 MB / 1.83 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009064/4.91, allocations: 4.331 MB / 1.834 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/4.91, allocations: 13.34 kB / 1.834 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/4.911, allocations: 204.1 kB / 1.834 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/4.912, allocations: 214.6 kB / 1.835 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/4.913, allocations: 1.896 MB / 1.837 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/4.915, allocations: 138.9 kB / 1.837 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/4.915, allocations: 76.94 kB / 1.837 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/4.915, allocations: 3.531 kB / 1.837 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003253/4.918, allocations: 1.097 MB / 1.838 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/4.918, allocations: 13.94 kB / 1.838 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/4.919, allocations: 206.7 kB / 1.838 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/4.919, allocations: 208.1 kB / 1.838 GB, free: 79.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004695/4.924, allocations: 3.708 MB / 1.842 GB, free: 76.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/4.926, allocations: 116.7 kB / 1.842 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/4.926, allocations: 62.66 kB / 1.842 GB, free: 76.34 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumFixDp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 5,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005757/4.927, allocations: 149.5 kB / 1.842 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/4.927, allocations: 159.8 kB / 1.842 GB, free: 76.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003779/4.931, allocations: 1.312 MB / 1.844 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/4.931, allocations: 10.66 kB / 1.844 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/4.931, allocations: 0 / 1.844 GB, free: 76.03 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/4.931, allocations: 10.22 kB / 1.844 GB, free: 76.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005583/4.937, allocations: 2.302 MB / 1.846 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/4.937, allocations: 3.844 kB / 1.846 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/4.937, allocations: 127.1 kB / 1.846 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004259/4.938, allocations: 166.8 kB / 1.846 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/4.938, allocations: 15.75 kB / 1.846 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/4.939, allocations: 1.825 MB / 1.848 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/4.939, allocations: 1.312 kB / 1.848 GB, free: 74.06 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002805/4.942, allocations: 1.279 MB / 1.849 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/4.943, allocations: 345.4 kB / 1.85 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005243/4.943, allocations: 6.156 kB / 1.85 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/4.945, allocations: 70.36 kB / 1.85 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/4.945, allocations: 50.73 kB / 1.85 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/4.945, allocations: 39.53 kB / 1.85 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002237/4.947, allocations: 0.9068 MB / 1.851 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004953/4.952, allocations: 1.01 MB / 1.852 GB, free: 73.15 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003225/4.955, allocations: 1.368 MB / 1.853 GB, free: 72.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003241/4.959, allocations: 1.542 MB / 1.854 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/4.959, allocations: 0 / 1.854 GB, free: 72.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007385/4.959, allocations: 416 kB / 1.855 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003723/4.963, allocations: 0.6566 MB / 1.855 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005956/4.969, allocations: 2.167 MB / 1.858 GB, free: 72.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/4.971, allocations: 1.576 MB / 1.859 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/4.971, allocations: 0 / 1.859 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.0749/5.046, allocations: 42.02 MB / 1.9 GB, free: 68.46 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)