Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 99.7 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.001224/0.001224, 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.728/1.728, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.4727/0.4727, allocations: 40 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.0006416/0.0006418, allocations: 12 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1858, allocations: 57.95 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002916/0.1888, allocations: 1.921 MB / 438.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1907, allocations: 0.7688 MB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.191, allocations: 4 kB / 439.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1912, allocations: 43.69 kB / 439.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004468/0.1917, allocations: 95.69 kB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1921, allocations: 71.91 kB / 439.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.1926, allocations: 227.4 kB / 439.9 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1928, allocations: 72.98 kB / 440 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/0.1932, allocations: 111.6 kB / 440.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.1934, allocations: 131.4 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.1935, allocations: 16 kB / 440.2 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.883e-05/0.1935, allocations: 16 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.1936, allocations: 55.81 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.102e-05/0.1937, allocations: 77.52 kB / 440.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.194, allocations: 259.5 kB / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.194, allocations: 0 / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.194, allocations: 0 / 440.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.399e-05/0.194, allocations: 0 / 440.6 MB, free: 14.69 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001705/0.1957, allocations: 0.569 MB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/0.1958, allocations: 8.031 kB / 441.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.196, allocations: 39.48 kB / 441.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.1967, allocations: 254.4 kB / 441.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.1967, allocations: 24.56 kB / 441.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.999e-05/0.1968, allocations: 24 kB / 441.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.1976, allocations: 240.9 kB / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1977, allocations: 0 / 441.7 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.322e-05/0.1977, allocations: 12 kB / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.1978, allocations: 8 kB / 441.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000756/0.1985, allocations: 246.1 kB / 442 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.2008, allocations: 0.8753 MB / 442.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.2017, allocations: 346.8 kB / 443.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.574e-05/0.2018, allocations: 7.984 kB / 443.2 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.2019, allocations: 39.09 kB / 443.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/0.2019, allocations: 0 / 443.3 MB, free: 11.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.00495/0.2068, allocations: 1.262 MB / 444.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2069, allocations: 55.41 kB / 444.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.2072, allocations: 209 kB / 444.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.2072, allocations: 29.7 kB / 444.8 MB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2073, allocations: 161.1 kB / 445 MB, free: 10.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.694e-05/0.2074, allocations: 110.4 kB / 445.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.621e-05/0.2074, allocations: 4 kB / 445.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.2076, allocations: 334.8 kB / 445.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.2079, allocations: 95.95 kB / 445.5 MB, free: 9.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002442/0.2081, allocations: 125.8 kB / 445.6 MB, free: 9.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.2084, allocations: 121.3 kB / 445.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.2084, allocations: 11.83 kB / 445.8 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001739/0.2101, allocations: 0.5406 MB / 446.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.2102, allocations: 11.59 kB / 446.3 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2102, allocations: 3.938 kB / 446.3 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/0.212, allocations: 311.1 kB / 446.6 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2122, allocations: 35.97 kB / 446.7 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/0.2204, allocations: 6.401 MB / 453.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.2207, allocations: 43.78 kB / 453.1 MB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.2207, allocations: 8 kB / 453.1 MB, free: 1.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002273/0.221, allocations: 133.8 kB / 453.2 MB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.2211, allocations: 23.72 kB / 453.3 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.223, allocations: 0.5619 MB / 453.8 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.223, allocations: 4 kB / 453.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.223, allocations: 0 / 453.8 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.223, allocations: 3.953 kB / 453.8 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.2235, allocations: 361.2 kB / 454.2 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.2235, allocations: 0 / 454.2 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2236, allocations: 19.98 kB / 454.2 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3243/0.548, allocations: 312.6 kB / 454.5 MB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.5481, allocations: 6.281 kB / 454.5 MB, free: 48.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005587/0.5537, allocations: 6.441 MB / 461 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.5537, allocations: 1.562 kB / 461 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.5553, allocations: 0.6313 MB / 461.6 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.5554, allocations: 110 kB / 461.7 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.5554, allocations: 6.031 kB / 461.7 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.5556, allocations: 12.7 kB / 461.7 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5557, allocations: 39.28 kB / 461.8 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5558, allocations: 9.016 kB / 461.8 MB, free: 43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.5559, allocations: 158.2 kB / 461.9 MB, free: 42.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5559, allocations: 0 / 461.9 MB, free: 42.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.5564, allocations: 116.6 kB / 462 MB, free: 42.93 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001121/0.5565, allocations: 97.62 kB / 462.1 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009497/0.5575, allocations: 0.7568 MB / 462.9 MB, free: 42.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5575, allocations: 0 / 462.9 MB, free: 42.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.5586, allocations: 0.7287 MB / 463.6 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.5588, allocations: 26.38 kB / 463.6 MB, free: 41.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008233/0.5597, allocations: 0.6305 MB / 464.3 MB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.5599, allocations: 0.7742 MB / 465 MB, free: 40.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.329e-05/0.56, allocations: 10.45 kB / 465 MB, free: 40.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.56, allocations: 17.28 kB / 465.1 MB, free: 40.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.56, allocations: 0 / 465.1 MB, free: 40.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01041/0.5704, allocations: 7.205 MB / 472.3 MB, free: 40.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) Environment - environmentSimulation: