Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") [: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 3.2.2+maint.om/package.mo): time 0.002762/0.002762, allocations: 180.3 kB / 7.456 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.213/1.213, allocations: 194.2 MB / 202.1 MB, free: 8.648 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0018/0.0018, allocations: 114.6 kB / 247.1 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1788/0.1788, allocations: 39.94 MB / 331.9 MB, free: 4.949 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.883e-06/6.913e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 54.87 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7573/0.8609, allocations: 345.5 MB / 0.7745 GB, free: 63.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.8612, allocations: 85.19 kB / 0.7746 GB, free: 63.67 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.162/2.023, allocations: 302.2 MB / 1.07 GB, free: 66.31 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002832/2.023, allocations: 47.28 kB / 1.07 GB, free: 66.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.00866/2.032, allocations: 2.09 MB / 1.072 GB, free: 65.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/2.032, allocations: 7.812 kB / 1.072 GB, free: 65.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/2.034, allocations: 204 kB / 1.072 GB, free: 65.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/2.038, allocations: 1.274 MB / 1.073 GB, free: 64.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/2.038, allocations: 144.6 kB / 1.073 GB, free: 64.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006036/2.039, allocations: 69.73 kB / 1.073 GB, free: 64.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0039/2.043, allocations: 1.787 MB / 1.075 GB, free: 64.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/2.047, allocations: 1.793 MB / 1.077 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/2.047, allocations: 0.75 kB / 1.077 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/2.047, allocations: 6.5 kB / 1.077 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/2.048, allocations: 123.8 kB / 1.077 GB, free: 64.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/2.063, allocations: 6.811 MB / 1.084 GB, free: 62.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/2.064, allocations: 1.032 MB / 1.085 GB, free: 62.33 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/2.066, allocations: 0.7772 MB / 1.085 GB, free: 62.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007592/2.073, allocations: 4.412 MB / 1.09 GB, free: 59.98 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.694e-05/2.073, allocations: 49.78 kB / 1.09 GB, free: 59.94 MB / 474.7 MB Notification: Performance of pre-optimization done (n=117): time 6.182e-06/2.073, allocations: 2.625 kB / 1.09 GB, free: 59.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.01799/2.091, allocations: 5.212 MB / 1.095 GB, free: 59.31 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/2.092, allocations: 221.3 kB / 1.095 GB, free: 59.06 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/2.093, allocations: 0.9037 MB / 1.096 GB, free: 58.91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001656/2.093, allocations: 25.7 kB / 1.096 GB, free: 58.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000321/2.094, allocations: 494.7 kB / 1.097 GB, free: 58.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000408/2.094, allocations: 438.8 kB / 1.097 GB, free: 58.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/2.094, allocations: 0 / 1.097 GB, free: 58.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/2.094, allocations: 370.8 kB / 1.097 GB, free: 58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/2.096, allocations: 0.7438 MB / 1.098 GB, free: 57.99 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/2.097, allocations: 1.06 MB / 1.099 GB, free: 57.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/2.109, allocations: 2.706 MB / 1.102 GB, free: 57.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/2.109, allocations: 3.938 kB / 1.102 GB, free: 57.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01605/2.125, allocations: 4.167 MB / 1.106 GB, free: 57.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007131/2.126, allocations: 2.966 MB / 1.109 GB, free: 54.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.122e-05/2.126, allocations: 21.81 kB / 1.109 GB, free: 54.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/2.132, allocations: 1.168 MB / 1.11 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/2.134, allocations: 337.9 kB / 1.11 GB, free: 54.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004911/2.139, allocations: 2.199 MB / 1.112 GB, free: 53.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/2.14, allocations: 74.14 kB / 1.112 GB, free: 53.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/2.141, allocations: 81.02 kB / 1.112 GB, free: 53.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/2.141, allocations: 3.906 kB / 1.112 GB, free: 53.85 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01428/2.155, allocations: 3.419 MB / 1.116 GB, free: 53.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/2.155, allocations: 11.62 kB / 1.116 GB, free: 53.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00553/2.161, allocations: 0.9328 MB / 1.117 GB, free: 53.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/2.163, allocations: 349.1 kB / 1.117 GB, free: 53.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/2.165, allocations: 1.397 MB / 1.118 GB, free: 53.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/2.166, allocations: 66.75 kB / 1.118 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003695/2.167, allocations: 72.03 kB / 1.119 GB, free: 53.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007171/2.168, allocations: 144.7 kB / 1.119 GB, free: 53.14 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006647/2.168, allocations: 151.8 kB / 1.119 GB, free: 53.07 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008838/2.177, allocations: 2.831 MB / 1.122 GB, free: 52.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/2.177, allocations: 19.72 kB / 1.122 GB, free: 52.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/2.177, allocations: 0 / 1.122 GB, free: 52.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/2.177, allocations: 7.594 kB / 1.122 GB, free: 52.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/2.188, allocations: 4.174 MB / 1.126 GB, free: 52.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/2.188, allocations: 3.531 kB / 1.126 GB, free: 52.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/2.189, allocations: 225.3 kB / 1.126 GB, free: 52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003046/2.192, allocations: 0.9401 MB / 1.127 GB, free: 51.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/2.193, allocations: 30.27 kB / 1.127 GB, free: 51.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/2.197, allocations: 2.178 MB / 1.129 GB, free: 50.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/2.197, allocations: 4.219 kB / 1.129 GB, free: 50.77 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00865/2.206, allocations: 3.587 MB / 1.132 GB, free: 49.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/2.207, allocations: 429.4 kB / 1.133 GB, free: 49.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/2.208, allocations: 3.969 kB / 1.133 GB, free: 49.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/2.209, allocations: 86.67 kB / 1.133 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/2.21, allocations: 106.3 kB / 1.133 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/2.21, allocations: 59.66 kB / 1.133 GB, free: 49.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001247/2.211, allocations: 0.6692 MB / 1.134 GB, free: 48.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005713/2.217, allocations: 1.336 MB / 1.135 GB, free: 48.58 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * 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 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.004294/2.221, allocations: 1.211 MB / 1.136 GB, free: 48.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006984/2.228, allocations: 3.008 MB / 1.139 GB, free: 46.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/2.228, allocations: 4 kB / 1.139 GB, free: 46.53 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002188/2.23, allocations: 0.981 MB / 1.14 GB, free: 45.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/2.234, allocations: 0.5807 MB / 1.141 GB, free: 45.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/2.242, allocations: 2.834 MB / 1.144 GB, free: 42.99 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/2.244, allocations: 1.585 MB / 1.145 GB, free: 41.69 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/2.244, allocations: 3.375 kB / 1.145 GB, free: 41.69 MB / 474.7 MB Notification: Performance of Templates: time 0.08487/2.329, allocations: 51.5 MB / 1.195 GB, free: 14.68 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1)