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.01035/0.01035, allocations: 101.9 kB / 15.73 MB, free: 6.031 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.001207/0.001207, allocations: 197.2 kB / 16.67 MB, free: 5.969 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.566/1.566, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.4002/0.4002, allocations: 39.94 MB / 309.8 MB, free: 9.672 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.00164/0.00164, allocations: 67.91 kB / 435.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.454, allocations: 56.87 MB / 492.6 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.005152/0.4592, allocations: 2.401 MB / 495 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.4613, allocations: 0.8276 MB / 495.9 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.4615, allocations: 5.25 kB / 495.9 MB, free: 17.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.4619, allocations: 56.2 kB / 495.9 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.4622, allocations: 102.2 kB / 496 MB, free: 17.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.4625, allocations: 97.38 kB / 496.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.463, allocations: 347.8 kB / 496.4 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002398/0.4632, allocations: 95.8 kB / 496.5 MB, free: 16.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.4635, allocations: 139.7 kB / 496.7 MB, free: 16.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.4638, allocations: 151 kB / 496.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.4639, allocations: 29.28 kB / 496.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.4639, allocations: 29.34 kB / 496.9 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.464, allocations: 65.86 kB / 496.9 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.4642, allocations: 154.8 kB / 497.1 MB, free: 16.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.4648, allocations: 357.1 kB / 497.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4648, allocations: 0 / 497.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4649, allocations: 0 / 497.4 MB, free: 16.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.4649, allocations: 1.922 kB / 497.4 MB, free: 16.46 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.001316/0.4662, allocations: 0.6102 MB / 498.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4663, allocations: 13.88 kB / 498.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.676e-05/0.4663, allocations: 36.72 kB / 498.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.4668, allocations: 262 kB / 498.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4668, allocations: 18.97 kB / 498.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.4669, allocations: 24.78 kB / 498.4 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.4675, allocations: 247.6 kB / 498.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4676, allocations: 0 / 498.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.4676, allocations: 14.38 kB / 498.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4676, allocations: 5.812 kB / 498.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005613/0.4682, allocations: 233.1 kB / 498.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.4698, allocations: 0.8682 MB / 499.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.4705, allocations: 316 kB / 0.4884 GB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.4709, allocations: 139.3 kB / 0.4885 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.4709, allocations: 11.3 kB / 0.4885 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.471, allocations: 36.88 kB / 0.4885 GB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 4.929e-06/0.471, allocations: 0 / 0.4885 GB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.00514/0.4762, allocations: 1.25 MB / 0.4898 GB, free: 13.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.4762, allocations: 61.66 kB / 0.4898 GB, free: 13.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4765, allocations: 216.5 kB / 0.49 GB, free: 13.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.4766, allocations: 31.05 kB / 0.49 GB, free: 13.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.4767, allocations: 155.1 kB / 0.4902 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.4768, allocations: 108.2 kB / 0.4903 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.4769, allocations: 53.7 kB / 0.4903 GB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.818e-05/0.477, allocations: 335.8 kB / 0.4907 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.4772, allocations: 93.05 kB / 0.4908 GB, free: 13.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.4775, allocations: 119 kB / 0.4909 GB, free: 13.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.478, allocations: 234.8 kB / 0.4911 GB, free: 12.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.478, allocations: 5.375 kB / 0.4911 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001838/0.4798, allocations: 0.5419 MB / 0.4916 GB, free: 12.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4799, allocations: 6.875 kB / 0.4916 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4799, allocations: 0 / 0.4916 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/0.4816, allocations: 312.7 kB / 0.4919 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4818, allocations: 28.2 kB / 0.492 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006533/0.4883, allocations: 6.832 MB / 0.4986 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.4887, allocations: 22.77 kB / 0.4987 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4887, allocations: 6.484 kB / 0.4987 GB, free: 6.363 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.0002103/0.4889, allocations: 147.2 kB / 0.4988 GB, free: 6.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.489, allocations: 27.19 kB / 0.4988 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001717/0.4907, allocations: 0.5535 MB / 0.4994 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4907, allocations: 7.281 kB / 0.4994 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.4907, allocations: 3.938 kB / 0.4994 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4907, allocations: 5.641 kB / 0.4994 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.4911, allocations: 350 kB / 0.4997 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4912, allocations: 0 / 0.4997 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.4913, allocations: 21.83 kB / 0.4997 GB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001495/0.4928, allocations: 312 kB / 0.5 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.4928, allocations: 8.844 kB / 0.5 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007051/0.4999, allocations: 6.896 MB / 0.5068 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4999, allocations: 0 / 0.5068 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.5019, allocations: 0.6078 MB / 0.5074 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.502, allocations: 107.7 kB / 0.5075 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.5021, allocations: 6.469 kB / 0.5075 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.5023, allocations: 16.58 kB / 0.5075 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.5025, allocations: 34.5 kB / 0.5075 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.5025, allocations: 8.844 kB / 0.5075 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.5027, allocations: 166.3 kB / 0.5077 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5027, allocations: 0 / 0.5077 GB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007566/0.5035, allocations: 115.9 kB / 0.5078 GB, free: 14.14 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.0001926/0.5037, allocations: 100.2 kB / 0.5079 GB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001591/0.5053, allocations: 0.7642 MB / 0.5087 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5053, allocations: 0 / 0.5087 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.507, allocations: 0.7386 MB / 0.5094 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.5075, allocations: 24.31 kB / 0.5094 GB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.5089, allocations: 0.522 MB / 0.5099 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.5094, allocations: 0.7784 MB / 0.5107 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.5094, allocations: 17.53 kB / 0.5107 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.5095, allocations: 17.31 kB / 0.5107 GB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5095, allocations: 0 / 0.5107 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Templates: time 0.01936/0.5289, allocations: 8.372 MB / 0.5189 GB, free: 7.309 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)