Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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/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 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(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008919, 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.0008787/0.0008788, allocations: 177.3 kB / 15.95 MB, free: 216 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2862/0.2862, allocations: 39.99 MB / 310.4 MB, free: 9.996 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005875/0.000588, allocations: 12 kB / 378.8 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1069, allocations: 57.95 MB / 436.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01027/0.1172, allocations: 10.75 MB / 447.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005869/0.1231, allocations: 4.745 MB / 452.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.1237, allocations: 23.81 kB / 452.3 MB, free: 3.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005916/0.1243, allocations: 163.2 kB / 452.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1259, allocations: 0.5647 MB / 453 MB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.1289, allocations: 1.2 MB / 454.2 MB, free: 1.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.13, allocations: 0.6869 MB / 454.9 MB, free: 432 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.1304, allocations: 257.5 kB / 455.2 MB, free: 168 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1805/0.3109, allocations: 410.6 kB / 455.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.3117, allocations: 307 kB / 455.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.3119, allocations: 23.05 kB / 455.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.3138, allocations: 0.9523 MB / 456.8 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.3141, allocations: 133.7 kB / 457 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000263/0.3144, allocations: 125.3 kB / 457.1 MB, free: 34.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.3159, allocations: 0.912 MB / 458 MB, free: 34.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.3159, allocations: 2.734 kB / 458 MB, free: 34.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.316, allocations: 0.6562 kB / 458 MB, free: 34.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.316, allocations: 0 / 458 MB, free: 34.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001718/0.3177, allocations: 0.8514 MB / 458.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3178, allocations: 8.5 kB / 458.9 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.3181, allocations: 57.44 kB / 458.9 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.3188, allocations: 431.5 kB / 459.3 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.3188, allocations: 26.8 kB / 459.4 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.3189, allocations: 28.91 kB / 459.4 MB, free: 33.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007628/0.3196, allocations: 0.5126 MB / 459.9 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3197, allocations: 3.719 kB / 459.9 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.3197, allocations: 18.27 kB / 459.9 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.3198, allocations: 33.05 kB / 460 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.3204, allocations: 461.6 kB / 460.4 MB, free: 33.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.3233, allocations: 2.279 MB / 462.7 MB, free: 32.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003562/0.3236, allocations: 234.7 kB / 462.9 MB, free: 32.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.3247, allocations: 1.038 MB / 464 MB, free: 31.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002635/0.3249, allocations: 211.6 kB / 464.2 MB, free: 31.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.943e-06/0.3249, allocations: 0 / 464.2 MB, free: 31.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.000561/0.3255, allocations: 469.1 kB / 464.6 MB, free: 31.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3256, allocations: 245.3 kB / 464.9 MB, free: 31.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.326, allocations: 0.5141 MB / 465.4 MB, free: 31.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3261, allocations: 25.7 kB / 465.4 MB, free: 30.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.3262, allocations: 289.3 kB / 465.7 MB, free: 30.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.3263, allocations: 61.08 kB / 465.7 MB, free: 30.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.3263, allocations: 9.969 kB / 465.7 MB, free: 30.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.3264, allocations: 356.2 kB / 466.1 MB, free: 30.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3266, allocations: 126.3 kB / 466.2 MB, free: 30.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3268, allocations: 312 kB / 466.5 MB, free: 30.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.3271, allocations: 203.3 kB / 466.7 MB, free: 30.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3271, allocations: 2.938 kB / 466.7 MB, free: 30.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006124/0.3277, allocations: 0.5216 MB / 467.2 MB, free: 30.13 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002879/0.328, allocations: 1.775 MB / 469 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.328, allocations: 13.78 kB / 469 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.328, allocations: 6.562 kB / 469 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.3283, allocations: 79.5 kB / 469.1 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3283, allocations: 10.28 kB / 469.1 MB, free: 28.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003709/0.3287, allocations: 60.91 kB / 469.2 MB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.3288, allocations: 23.52 kB / 469.2 MB, free: 28.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.3288, allocations: 3.344 kB / 469.2 MB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005639/0.3294, allocations: 479.4 kB / 469.7 MB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3294, allocations: 4.875 kB / 469.7 MB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.3294, allocations: 6.531 kB / 469.7 MB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.3296, allocations: 82.48 kB / 469.8 MB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3297, allocations: 12.88 kB / 469.8 MB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.33, allocations: 52.31 kB / 469.8 MB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.33, allocations: 19.97 kB / 469.9 MB, free: 28.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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.0002051/0.3302, allocations: 297.8 kB / 470.1 MB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.3303, allocations: 53.64 kB / 470.2 MB, free: 27.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.3308, allocations: 365.9 kB / 470.6 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3308, allocations: 5.344 kB / 470.6 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3308, allocations: 0 / 470.6 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3308, allocations: 3.469 kB / 470.6 MB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3312, allocations: 406 kB / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3312, allocations: 3.125 kB / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3313, allocations: 25.5 kB / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3313, allocations: 5.375 kB / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3313, allocations: 10.62 kB / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3313, allocations: 7.344 kB / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3313, allocations: 0 / 471 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.3317, allocations: 358.8 kB / 471.4 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3318, allocations: 140.9 kB / 471.5 MB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.3319, allocations: 3.125 kB / 471.5 MB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.3322, allocations: 25.64 kB / 471.5 MB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.3322, allocations: 17.62 kB / 471.5 MB, free: 27.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3322, allocations: 9.922 kB / 471.6 MB, free: 27.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000315/0.3326, allocations: 369.5 kB / 471.9 MB, free: 27.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3326, allocations: 0 / 471.9 MB, free: 27.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001011/0.3336, allocations: 423.5 kB / 472.3 MB, free: 27.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0009806/0.3346, allocations: 408.3 kB / 472.7 MB, free: 27.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.3355, allocations: 0.6605 MB / 473.4 MB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3355, allocations: 2.75 kB / 473.4 MB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3356, allocations: 185.8 kB / 473.6 MB, free: 26.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000799/0.3364, allocations: 191.5 kB / 473.8 MB, free: 26.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3376, allocations: 0.9604 MB / 474.7 MB, free: 26.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.3378, allocations: 0.8584 MB / 475.6 MB, free: 25.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005012/0.3383, allocations: 163.2 kB / 475.7 MB, free: 25.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.262e-05/0.3384, allocations: 42.69 kB / 475.8 MB, free: 25.71 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3384, allocations: 0 / 475.8 MB, free: 25.71 MB / 382.1 MB Notification: Performance of Templates: time 0.01654/0.355, allocations: 11.34 MB / 487.1 MB, free: 24.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) Environment - environmentSimulation: