Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001742/0.001742, allocations: 177.2 kB / 7.461 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5923/0.5923, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.113/1.113, allocations: 221.3 MB / 395 MB, free: 10.22 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.0008214/0.0008213, allocations: 98.78 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.901e-06/5.921e-06, allocations: 1.844 kB / 0.5528 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 82.3 MB / 0.6332 GB, free: 14.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7744/0.8901, allocations: 398.5 MB / 1.022 GB, free: 235.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.8904, allocations: 96.05 kB / 1.023 GB, free: 235.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.179/3.07, allocations: 0.7792 GB / 1.802 GB, free: 77.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002927/3.07, allocations: 51.45 kB / 1.802 GB, free: 77.47 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.004848/3.075, allocations: 1.997 MB / 1.804 GB, free: 76.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/3.075, allocations: 10.62 kB / 1.804 GB, free: 76.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003256/3.078, allocations: 0.5951 MB / 1.804 GB, free: 76.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03092/3.109, allocations: 14.4 MB / 1.818 GB, free: 75.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/3.109, allocations: 35.94 kB / 1.818 GB, free: 75.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/3.11, allocations: 73.78 kB / 1.818 GB, free: 75.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/3.112, allocations: 0.8727 MB / 1.819 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/3.113, allocations: 1.068 MB / 1.82 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/3.113, allocations: 0 / 1.82 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/3.114, allocations: 7.312 kB / 1.82 GB, free: 75.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/3.114, allocations: 24.22 kB / 1.82 GB, free: 75.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007802/3.121, allocations: 5.695 MB / 1.826 GB, free: 72.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/3.122, allocations: 0.7061 MB / 1.827 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004196/3.123, allocations: 355.8 kB / 1.827 GB, free: 72.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00367/3.126, allocations: 2.742 MB / 1.83 GB, free: 71.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/3.127, allocations: 40.69 kB / 1.83 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 2.585e-06/3.127, allocations: 0 / 1.83 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.002666/3.129, allocations: 1.008 MB / 1.831 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/3.129, allocations: 55.81 kB / 1.831 GB, free: 70.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/3.131, allocations: 1.215 MB / 1.832 GB, free: 70.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.329e-05/3.131, allocations: 32.02 kB / 1.832 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/3.131, allocations: 0.5487 MB / 1.833 GB, free: 70.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/3.132, allocations: 196.3 kB / 1.833 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/3.132, allocations: 0 / 1.833 GB, free: 70.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.738e-05/3.132, allocations: 340 kB / 1.833 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/3.132, allocations: 316.7 kB / 1.833 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/3.133, allocations: 0.7435 MB / 1.834 GB, free: 69.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001576/3.134, allocations: 0.5284 MB / 1.835 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/3.134, allocations: 3.688 kB / 1.835 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003351/3.138, allocations: 1.367 MB / 1.836 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007916/3.139, allocations: 4.334 MB / 1.84 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/3.139, allocations: 10.38 kB / 1.84 GB, free: 64.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005505/3.139, allocations: 197.4 kB / 1.84 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/3.14, allocations: 216.9 kB / 1.841 GB, free: 64.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/3.141, allocations: 1.896 MB / 1.842 GB, free: 63.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/3.142, allocations: 143.4 kB / 1.843 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/3.142, allocations: 79.56 kB / 1.843 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/3.142, allocations: 3.656 kB / 1.843 GB, free: 63.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002997/3.145, allocations: 1.093 MB / 1.844 GB, free: 63.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/3.146, allocations: 10.03 kB / 1.844 GB, free: 63.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005219/3.146, allocations: 212.8 kB / 1.844 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/3.147, allocations: 206.5 kB / 1.844 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/3.151, allocations: 3.713 MB / 1.848 GB, free: 60.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/3.152, allocations: 110.6 kB / 1.848 GB, free: 60.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/3.152, allocations: 72.78 kB / 1.848 GB, free: 60.33 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.0002766/3.152, allocations: 151.1 kB / 1.848 GB, free: 60.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/3.153, allocations: 158.5 kB / 1.848 GB, free: 60.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002724/3.155, allocations: 1.31 MB / 1.849 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/3.155, allocations: 16.83 kB / 1.849 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/3.155, allocations: 0 / 1.849 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/3.155, allocations: 11.58 kB / 1.85 GB, free: 60.02 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/3.159, allocations: 2.301 MB / 1.852 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/3.159, allocations: 0 / 1.852 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/3.16, allocations: 120.1 kB / 1.852 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/3.16, allocations: 167 kB / 1.852 GB, free: 59.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/3.16, allocations: 13.34 kB / 1.852 GB, free: 59.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/3.161, allocations: 1.834 MB / 1.854 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/3.161, allocations: 5.406 kB / 1.854 GB, free: 58.05 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002391/3.164, allocations: 1.277 MB / 1.855 GB, free: 57.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005331/3.164, allocations: 338.9 kB / 1.855 GB, free: 57.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/3.165, allocations: 8.656 kB / 1.855 GB, free: 57.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/3.165, allocations: 70.27 kB / 1.855 GB, free: 57.44 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/3.165, allocations: 51.16 kB / 1.856 GB, free: 57.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/3.165, allocations: 38.2 kB / 1.856 GB, free: 57.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.00102/3.167, allocations: 0.9098 MB / 1.856 GB, free: 57.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002735/3.169, allocations: 1.008 MB / 1.857 GB, free: 57.14 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.001792/3.171, allocations: 1.378 MB / 1.859 GB, free: 56.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0022/3.173, allocations: 1.537 MB / 1.86 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/3.173, allocations: 0 / 1.86 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005535/3.174, allocations: 415.3 kB / 1.861 GB, free: 56.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/3.176, allocations: 0.6428 MB / 1.861 GB, free: 56.69 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/3.179, allocations: 2.184 MB / 1.863 GB, free: 56.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009884/3.18, allocations: 1.579 MB / 1.865 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of SimCode: time 3.11e-07/3.18, allocations: 0 / 1.865 GB, free: 55.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.05355/3.234, allocations: 42.01 MB / 1.906 GB, free: 53.01 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1)