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.007374/0.007375, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.001539/0.001539, allocations: 194.3 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.424/0.424, allocations: 39.94 MB / 309.8 MB, free: 9.422 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.001392/0.001393, allocations: 64.47 kB / 435.8 MB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4736/0.475, allocations: 56.88 MB / 492.6 MB, free: 19.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.005367/0.4804, allocations: 2.391 MB / 495 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.4822, allocations: 0.8197 MB / 495.8 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.4824, allocations: 7.812 kB / 495.9 MB, free: 17.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.4827, allocations: 51.11 kB / 495.9 MB, free: 17.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002959/0.483, allocations: 108.7 kB / 496 MB, free: 17.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.4833, allocations: 94.03 kB / 496.1 MB, free: 16.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.4838, allocations: 346.9 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.4841, allocations: 101.4 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.4844, allocations: 146.4 kB / 496.7 MB, free: 16.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.4847, allocations: 147.4 kB / 496.8 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.064e-05/0.4848, allocations: 29.16 kB / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.365e-05/0.4848, allocations: 29.59 kB / 496.9 MB, free: 16.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.708e-05/0.4849, allocations: 65.56 kB / 497 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.4851, allocations: 154.9 kB / 497.1 MB, free: 16.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.4856, allocations: 356.4 kB / 497.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.4856, allocations: 5.438 kB / 497.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.636e-06/0.4857, allocations: 0.7031 kB / 497.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4857, allocations: 0 / 497.5 MB, free: 16.34 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.001219/0.4869, allocations: 0.6105 MB / 498.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.487, allocations: 13.94 kB / 498.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.4871, allocations: 32.03 kB / 498.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.4875, allocations: 262.3 kB / 498.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.4875, allocations: 19 kB / 498.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.4876, allocations: 24 kB / 498.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006865/0.4883, allocations: 248.5 kB / 498.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4883, allocations: 4 kB / 498.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.4883, allocations: 10.72 kB / 498.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.4884, allocations: 5.75 kB / 498.7 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.4889, allocations: 232.5 kB / 498.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.4906, allocations: 0.8647 MB / 499.8 MB, free: 14.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.4913, allocations: 314.9 kB / 0.4884 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.4916, allocations: 143.2 kB / 0.4885 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.4917, allocations: 8.953 kB / 0.4885 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.4917, allocations: 40.69 kB / 0.4885 GB, free: 14.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.283e-06/0.4917, allocations: 0 / 0.4885 GB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.004868/0.4966, allocations: 1.254 MB / 0.4898 GB, free: 13.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/0.4967, allocations: 55.78 kB / 0.4898 GB, free: 13.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.497, allocations: 216.4 kB / 0.49 GB, free: 13.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.497, allocations: 30.95 kB / 0.49 GB, free: 13.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.4972, allocations: 159.3 kB / 0.4902 GB, free: 13.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.4973, allocations: 100.6 kB / 0.4903 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4974, allocations: 58.45 kB / 0.4904 GB, free: 13.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4975, allocations: 333.6 kB / 0.4907 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.4978, allocations: 93.69 kB / 0.4908 GB, free: 13.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.4981, allocations: 122.4 kB / 0.4909 GB, free: 12.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.4987, allocations: 235.7 kB / 0.4911 GB, free: 12.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4987, allocations: 0 / 0.4911 GB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001942/0.5007, allocations: 0.5424 MB / 0.4916 GB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.5007, allocations: 5.5 kB / 0.4916 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5007, allocations: 0 / 0.4916 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.5026, allocations: 313 kB / 0.4919 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.5028, allocations: 32.81 kB / 0.492 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008327/0.5112, allocations: 6.82 MB / 0.4986 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.5115, allocations: 23.5 kB / 0.4986 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.5116, allocations: 10.69 kB / 0.4987 GB, free: 6.25 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/0.5118, allocations: 141.8 kB / 0.4988 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.5119, allocations: 28.7 kB / 0.4988 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.5139, allocations: 0.5542 MB / 0.4994 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.5139, allocations: 3.375 kB / 0.4994 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.514, allocations: 9.453 kB / 0.4994 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.514, allocations: 0 / 0.4994 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.5145, allocations: 354.6 kB / 0.4997 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5145, allocations: 0 / 0.4997 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.5146, allocations: 21.89 kB / 0.4997 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00158/0.5162, allocations: 312.2 kB / 0.5 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.5162, allocations: 5.438 kB / 0.5 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007219/0.5235, allocations: 6.899 MB / 0.5068 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5235, allocations: 3.984 kB / 0.5068 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.5254, allocations: 0.6047 MB / 0.5074 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.5256, allocations: 112.4 kB / 0.5075 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.5256, allocations: 5.219 kB / 0.5075 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.5258, allocations: 12.67 kB / 0.5075 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.526, allocations: 41.86 kB / 0.5075 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.5261, allocations: 5.688 kB / 0.5075 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002338/0.5263, allocations: 161.1 kB / 0.5077 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5263, allocations: 1.031 kB / 0.5077 GB, free: 14.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.5272, allocations: 120.3 kB / 0.5078 GB, free: 14.08 MB / 398.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.5274, allocations: 100.2 kB / 0.5079 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.5289, allocations: 0.7592 MB / 0.5086 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5289, allocations: 0 / 0.5086 GB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.5304, allocations: 0.7394 MB / 0.5094 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.5308, allocations: 28.8 kB / 0.5094 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5321, allocations: 0.5243 MB / 0.5099 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/0.5326, allocations: 0.7824 MB / 0.5107 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.5327, allocations: 6.125 kB / 0.5107 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.5327, allocations: 13.16 kB / 0.5107 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5327, allocations: 0 / 0.5107 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Templates: time 0.01912/0.5519, allocations: 8.096 MB / 0.5186 GB, free: 7.457 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (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)