Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") translateModel(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009453/0.0009452, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06193/0.06193, allocations: 10.98 MB / 281.3 MB, free: 10.17 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01697/0.01697, allocations: 4.226 MB / 336 MB, free: 29.14 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006018/0.0006022, allocations: 12 kB / 398.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3471, allocations: 50.76 MB / 449.3 MB, free: 47.97 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder): time 0.001648/0.3488, allocations: 1.149 MB / 450.5 MB, free: 47.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.3498, allocations: 0.5252 MB / 451 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.695e-05/0.3498, allocations: 1.312 kB / 451 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001449/0.35, allocations: 13.14 kB / 451 MB, free: 46.63 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3503, allocations: 42.16 kB / 451.1 MB, free: 46.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3505, allocations: 51.72 kB / 451.1 MB, free: 46.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.3508, allocations: 202.9 kB / 451.3 MB, free: 46.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.093e-05/0.3509, allocations: 4.188 kB / 451.3 MB, free: 46.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.351, allocations: 112.8 kB / 451.4 MB, free: 46.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.3512, allocations: 108.2 kB / 451.5 MB, free: 46.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.3513, allocations: 13 kB / 451.5 MB, free: 46.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.319e-05/0.3513, allocations: 12.22 kB / 451.6 MB, free: 46.3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3515, allocations: 76.89 kB / 451.6 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.411e-05/0.3516, allocations: 42.64 kB / 451.7 MB, free: 46.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3518, allocations: 170.7 kB / 451.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.3518, allocations: 0 / 451.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.611e-06/0.3518, allocations: 4.922 kB / 451.8 MB, free: 46.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3518, allocations: 0 / 451.8 MB, free: 46.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002008/0.3538, allocations: 0.6584 MB / 452.5 MB, free: 45.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3539, allocations: 8.781 kB / 452.5 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.354, allocations: 19.5 kB / 452.5 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.3543, allocations: 241.8 kB / 452.8 MB, free: 45.31 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.3543, allocations: 13.45 kB / 452.8 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.422e-05/0.3544, allocations: 16.34 kB / 452.8 MB, free: 45.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.355, allocations: 318.8 kB / 453.1 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3551, allocations: 7.984 kB / 453.1 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.3551, allocations: 5.219 kB / 453.1 MB, free: 45.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.3552, allocations: 17.83 kB / 453.1 MB, free: 45.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006825/0.3558, allocations: 366.7 kB / 453.5 MB, free: 44.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.3583, allocations: 1.016 MB / 454.5 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005722/0.3589, allocations: 241.7 kB / 454.7 MB, free: 44.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3589, allocations: 9.203 kB / 454.8 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004563/0.3594, allocations: 246.3 kB / 455 MB, free: 43.94 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.984e-06/0.3594, allocations: 0 / 455 MB, free: 43.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001099/0.3605, allocations: 0.4939 MB / 455.5 MB, free: 43.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.3606, allocations: 54.44 kB / 455.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.3607, allocations: 187.4 kB / 455.7 MB, free: 43.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3608, allocations: 35.7 kB / 455.8 MB, free: 43.45 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.3609, allocations: 136.9 kB / 455.9 MB, free: 43.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.907e-05/0.3609, allocations: 72.58 kB / 456 MB, free: 43.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.361, allocations: 5.188 kB / 456 MB, free: 43.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.123e-05/0.3611, allocations: 336.2 kB / 456.3 MB, free: 42.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.3614, allocations: 202 kB / 456.5 MB, free: 42.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.3619, allocations: 297.1 kB / 456.8 MB, free: 42.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.3623, allocations: 265.6 kB / 457 MB, free: 42.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3623, allocations: 1.156 kB / 457 MB, free: 42.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001024/0.3634, allocations: 0.5771 MB / 457.6 MB, free: 42.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.3634, allocations: 45.62 kB / 457.7 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3634, allocations: 4 kB / 457.7 MB, free: 42.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.3635, allocations: 4 kB / 457.7 MB, free: 42.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.3641, allocations: 120.1 kB / 457.8 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.3641, allocations: 7.984 kB / 457.8 MB, free: 41.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.3644, allocations: 59.64 kB / 457.9 MB, free: 41.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.3645, allocations: 15.98 kB / 457.9 MB, free: 41.89 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.3646, allocations: 149.7 kB / 458 MB, free: 41.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.3647, allocations: 15.81 kB / 458 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.3648, allocations: 49.52 kB / 458.1 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3648, allocations: 0 / 458.1 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.3648, allocations: 0 / 458.1 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3648, allocations: 4 kB / 458.1 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3651, allocations: 381.1 kB / 458.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3652, allocations: 0 / 458.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.3657, allocations: 83.81 kB / 458.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3657, allocations: 0 / 458.5 MB, free: 41.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.3657, allocations: 19.97 kB / 458.6 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3657, allocations: 4 kB / 458.6 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3657, allocations: 0 / 458.6 MB, free: 41.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.3666, allocations: 0.5394 MB / 459.1 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.581e-05/0.3666, allocations: 89 kB / 459.2 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.3667, allocations: 15.95 kB / 459.2 MB, free: 40.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.367, allocations: 35.95 kB / 459.2 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.3671, allocations: 23.95 kB / 459.3 MB, free: 40.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.3671, allocations: 11.97 kB / 459.3 MB, free: 40.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.3672, allocations: 125.8 kB / 459.4 MB, free: 40.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3672, allocations: 0 / 459.4 MB, free: 40.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3675, allocations: 56 kB / 459.5 MB, free: 40.21 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (transport.u[1,1],transport.u[1,2],transport.u[2,1],transport.u[2,2],transport.u[3,1],transport.u[3,2],transport.u[4,1],transport.u[4,2],transport.u[5,1],transport.u[5,2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000104/0.3676, allocations: 113.1 kB / 459.6 MB, free: 40.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.3683, allocations: 484.4 kB / 460 MB, free: 39.61 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3683, allocations: 3.938 kB / 460 MB, free: 39.61 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.3686, allocations: 171.3 kB / 460.2 MB, free: 39.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.3688, allocations: 16.3 kB / 460.2 MB, free: 39.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.3695, allocations: 0.627 MB / 460.9 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3697, allocations: 0.7323 MB / 461.6 MB, free: 38.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.37, allocations: 113.8 kB / 461.7 MB, free: 37.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-05/0.3701, allocations: 27.41 kB / 461.7 MB, free: 37.88 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3701, allocations: 0 / 461.7 MB, free: 37.88 MB / 318.1 MB Notification: Performance of Templates: time 0.004572/0.3747, allocations: 2.251 MB / 464 MB, free: 35.63 MB / 318.1 MB make -j1 -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.makefile Environment - environmentSimulation: (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.sim & ./TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.PDE.test_UpwindFirstOrder.pipe 2>&1) Environment - environmentSimulation: