Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y") translateModel(Annex60.Fluid.Movers.Validation.SpeedControlled_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y") [: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/Annex60 1.0.0/package.mo): time 0.3005/0.3005, allocations: 54.39 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002322/0.002322, allocations: 186.5 kB / 75.38 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.811/1.811, allocations: 194.2 MB / 283.2 MB, free: 3.477 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001837/0.001838, allocations: 110.9 kB / 341.3 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.346e-06, allocations: 0 / 404.9 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 57.65 MB / 462.6 MB, free: 1.953 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.086/5.25, allocations: 2.169 GB / 2.62 GB, free: 30.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/5.25, allocations: 83.95 kB / 2.621 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.356/10.61, allocations: 1.336 GB / 3.957 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0005888/10.61, allocations: 56.62 kB / 3.957 GB, free: 41.15 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 360 * Number of variables: 360 Notification: Performance of Generate backend data structure: time 0.01267/10.62, allocations: 2.584 MB / 3.959 GB, free: 39.75 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.883e-05/10.62, allocations: 13.69 kB / 3.959 GB, free: 39.74 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008905/10.63, allocations: 0.9687 MB / 3.96 GB, free: 39.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/10.64, allocations: 3.105 MB / 3.963 GB, free: 38.99 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/10.64, allocations: 44.56 kB / 3.963 GB, free: 38.99 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009073/10.64, allocations: 98.81 kB / 3.963 GB, free: 38.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004876/10.65, allocations: 1.381 MB / 3.965 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005829/10.65, allocations: 1.548 MB / 3.966 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/10.65, allocations: 6.344 kB / 3.966 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/10.65, allocations: 2.312 kB / 3.966 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-05/10.65, allocations: 53.14 kB / 3.966 GB, free: 38.79 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01622/10.67, allocations: 7.747 MB / 3.974 GB, free: 34.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002269/10.67, allocations: 1.043 MB / 3.975 GB, free: 34.88 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/10.67, allocations: 0.5834 MB / 3.976 GB, free: 34.87 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/10.67, allocations: 185.7 kB / 3.976 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.688e-05/10.67, allocations: 42.84 kB / 3.976 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 3.586e-06/10.67, allocations: 1.438 kB / 3.976 GB, free: 34.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=82): time 0.006048/10.68, allocations: 1.434 MB / 3.977 GB, free: 34.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/10.68, allocations: 60.03 kB / 3.977 GB, free: 34.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/10.68, allocations: 1.39 MB / 3.979 GB, free: 34.19 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002597/10.68, allocations: 27.77 kB / 3.979 GB, free: 34.16 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/10.68, allocations: 0.6602 MB / 3.979 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/10.68, allocations: 277.3 kB / 3.979 GB, free: 33.62 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/10.68, allocations: 2.75 kB / 3.979 GB, free: 33.62 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001342/10.68, allocations: 348.4 kB / 3.98 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009652/10.69, allocations: 440.4 kB / 3.98 GB, free: 33.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/10.69, allocations: 0.8476 MB / 3.981 GB, free: 32.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/10.69, allocations: 0.6026 MB / 3.982 GB, free: 32.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/10.69, allocations: 2.562 kB / 3.982 GB, free: 32.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.005258/10.69, allocations: 1.671 MB / 3.983 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001267/10.7, allocations: 4.025 MB / 3.987 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/10.7, allocations: 9.656 kB / 3.987 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/10.7, allocations: 329.5 kB / 3.988 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/10.7, allocations: 332 kB / 3.988 GB, free: 27.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004373/10.7, allocations: 3.678 MB / 3.991 GB, free: 24.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/10.71, allocations: 191.8 kB / 3.992 GB, free: 24.49 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/10.71, allocations: 79.52 kB / 3.992 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/10.71, allocations: 9.344 kB / 3.992 GB, free: 24.48 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004441/10.71, allocations: 1.344 MB / 3.993 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/10.71, allocations: 9.469 kB / 3.993 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/10.71, allocations: 319.6 kB / 3.993 GB, free: 23.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/10.71, allocations: 242.5 kB / 3.994 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008665/10.72, allocations: 4.94 MB / 3.998 GB, free: 20.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/10.73, allocations: 153 kB / 3.999 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/10.73, allocations: 70.77 kB / 3.999 GB, free: 20.02 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.QSen_flow.y:VARIABLE(protected = true ) "Value of Real output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 116 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009056/10.73, allocations: 135.2 kB / 3.999 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000993/10.73, allocations: 194.2 kB / 3.999 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006365/10.73, allocations: 1.44 MB / 4 GB, free: 19.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/10.73, allocations: 8 kB / 4 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/10.73, allocations: 0 / 4 GB, free: 19.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003413/10.74, allocations: 1.228 MB / 4.002 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009131/10.75, allocations: 2.668 MB / 4.004 GB, free: 16.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/10.75, allocations: 0 / 4.004 GB, free: 16.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/10.75, allocations: 254.8 kB / 4.004 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000795/10.75, allocations: 253.3 kB / 4.005 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/10.75, allocations: 13.25 kB / 4.005 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004706/10.75, allocations: 4.22 MB / 4.009 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/10.75, allocations: 0.6094 kB / 4.009 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00539/10.76, allocations: 1.969 MB / 4.011 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/10.76, allocations: 364.7 kB / 4.011 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008466/10.76, allocations: 11.84 kB / 4.011 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/10.76, allocations: 108.6 kB / 4.011 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/10.76, allocations: 43.62 kB / 4.011 GB, free: 9.152 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/10.77, allocations: 41.42 kB / 4.011 GB, free: 9.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.004018/10.77, allocations: 1.049 MB / 4.012 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009273/10.78, allocations: 1.428 MB / 4.014 GB, free: 6.762 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01142/10.79, allocations: 4.66 MB / 4.018 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006875/10.8, allocations: 2.226 MB / 4.02 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/10.8, allocations: 0 / 4.02 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0029/10.8, allocations: 0.7494 MB / 4.021 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005926/10.81, allocations: 0.8708 MB / 4.022 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/10.82, allocations: 2.867 MB / 4.025 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003598/10.82, allocations: 1.823 MB / 4.027 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of SimCode: time 1.973e-06/10.82, allocations: 0 / 4.027 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of Templates: time 0.5346/11.36, allocations: 66.54 MB / 4.092 GB, free: 88.91 MB / 0.5573 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.Validation.SpeedControlled_y.pipe 2>&1)