Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.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.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.FluxTubes.Sources,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009481/0.009481, allocations: 102.4 kB / 15.73 MB, free: 6.051 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.001794/0.001794, allocations: 199.4 kB / 16.68 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.701/1.701, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.23/0.23, allocations: 39.97 MB / 309.9 MB, free: 4.008 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.001703/0.001703, allocations: 65.47 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2268, allocations: 56.88 MB / 492.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.008263/0.2351, allocations: 2.621 MB / 495.3 MB, free: 144 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.2381, allocations: 0.7914 MB / 496 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.2386, allocations: 11.94 kB / 496.1 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.2392, allocations: 71.38 kB / 496.1 MB, free: 15.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000735/0.24, allocations: 99.17 kB / 496.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006284/0.2406, allocations: 107.8 kB / 496.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008821/0.2416, allocations: 414.5 kB / 496.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004227/0.242, allocations: 143.2 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004531/0.2425, allocations: 155.4 kB / 497 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.2429, allocations: 163.2 kB / 497.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.243, allocations: 32 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.2432, allocations: 36 kB / 497.3 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2433, allocations: 79.69 kB / 497.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003015/0.2436, allocations: 179 kB / 497.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.2444, allocations: 426.4 kB / 497.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.2445, allocations: 0 / 497.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2445, allocations: 0 / 497.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.2445, allocations: 0 / 497.9 MB, free: 13.45 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002155/0.2467, allocations: 0.6668 MB / 498.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/0.2468, allocations: 11.89 kB / 498.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.2469, allocations: 44.38 kB / 498.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.2476, allocations: 276.7 kB / 498.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.217e-05/0.2477, allocations: 29.31 kB / 498.9 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.2477, allocations: 28.38 kB / 499 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2489, allocations: 358.2 kB / 499.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.2489, allocations: 0 / 499.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.249, allocations: 16 kB / 499.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.249, allocations: 8 kB / 499.3 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.25, allocations: 267.8 kB / 499.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00351/0.2536, allocations: 1.342 MB / 0.4892 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.2544, allocations: 202.5 kB / 0.4894 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.2548, allocations: 79.52 kB / 0.4895 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.2549, allocations: 4 kB / 0.4895 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/0.2549, allocations: 34.56 kB / 0.4895 GB, free: 9.855 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 3.126e-06/0.255, allocations: 0 / 0.4895 GB, free: 9.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001448/0.2564, allocations: 253.1 kB / 0.4898 GB, free: 9.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.2566, allocations: 140.4 kB / 0.4899 GB, free: 9.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.2572, allocations: 324.4 kB / 0.4902 GB, free: 9.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.2572, allocations: 25.83 kB / 0.4902 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.2575, allocations: 239.6 kB / 0.4905 GB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.39e-05/0.2576, allocations: 51.27 kB / 0.4905 GB, free: 8.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.2578, allocations: 57.89 kB / 0.4906 GB, free: 8.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.258, allocations: 342.8 kB / 0.4909 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.2584, allocations: 80.5 kB / 0.491 GB, free: 8.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.2589, allocations: 172.1 kB / 0.4911 GB, free: 8.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008491/0.2598, allocations: 259 kB / 0.4914 GB, free: 7.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.2598, allocations: 0 / 0.4914 GB, free: 7.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001183/0.261, allocations: 297.2 kB / 0.4917 GB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.261, allocations: 11.98 kB / 0.4917 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.2611, allocations: 0 / 0.4917 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.574e-05/0.2611, allocations: 8 kB / 0.4917 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.2618, allocations: 91.81 kB / 0.4918 GB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.2618, allocations: 8.547 kB / 0.4918 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.2624, allocations: 51.58 kB / 0.4918 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.2624, allocations: 8 kB / 0.4918 GB, free: 7.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002477/0.2627, allocations: 153.7 kB / 0.492 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.2629, allocations: 31.62 kB / 0.492 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.2631, allocations: 38.39 kB / 0.492 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.2631, allocations: 4 kB / 0.492 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.2631, allocations: 4 kB / 0.492 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.2631, allocations: 0 / 0.492 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.2645, allocations: 0.5914 MB / 0.4926 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.2646, allocations: 4 kB / 0.4926 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.265, allocations: 59.88 kB / 0.4927 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.2651, allocations: 8.094 kB / 0.4927 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.2651, allocations: 11.94 kB / 0.4927 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.2651, allocations: 160 / 0.4927 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.2651, allocations: 4 kB / 0.4927 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009477/0.2661, allocations: 392.8 kB / 0.4931 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.2663, allocations: 112.7 kB / 0.4932 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.2664, allocations: 3.938 kB / 0.4932 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004367/0.2668, allocations: 23.97 kB / 0.4932 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2669, allocations: 15.98 kB / 0.4932 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.267, allocations: 4 kB / 0.4932 GB, free: 5.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004151/0.2674, allocations: 227.1 kB / 0.4935 GB, free: 5.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2674, allocations: 0 / 0.4935 GB, free: 5.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007651/0.2682, allocations: 67.84 kB / 0.4935 GB, free: 5.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002092/0.2684, allocations: 99.19 kB / 0.4936 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.2695, allocations: 207.5 kB / 0.4938 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.2695, allocations: 0 / 0.4938 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.2699, allocations: 84.64 kB / 0.4939 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.2707, allocations: 29.38 kB / 0.4939 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2726, allocations: 0.5416 MB / 0.4944 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000617/0.2732, allocations: 0.7792 MB / 0.4952 GB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.2734, allocations: 22.22 kB / 0.4952 GB, free: 3.625 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.2735, allocations: 27.42 kB / 0.4953 GB, free: 3.598 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2735, allocations: 0 / 0.4953 GB, free: 3.598 MB / 382.1 MB Notification: Performance of Templates: time 0.009393/0.2829, allocations: 1.892 MB / 0.4971 GB, free: 1.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources.pipe 2>&1)