Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01316/0.01316, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.48e-05, allocations: 0 / 19.23 MB, free: 1.988 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008759/0.0009251, allocations: 363.5 kB / 19.59 MB, free: 1.656 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0226/0.02355, allocations: 4.02 MB / 23.61 MB, free: 2.426 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.02379, allocations: 49.92 kB / 23.66 MB, free: 2.406 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.06241/0.08622, allocations: 10.94 MB / 34.59 MB, free: 2.5 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08628, allocations: 0 / 34.59 MB, free: 2.5 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.789e-05/0.08634, allocations: 15.38 kB / 34.61 MB, free: 2.496 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001709/0.08806, allocations: 0.8562 MB / 35.47 MB, free: 1.926 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.08813, allocations: 9.25 kB / 35.47 MB, free: 1.926 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.08838, allocations: 83.45 kB / 35.56 MB, free: 1.887 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.08933, allocations: 451.7 kB / 36 MB, free: 1.652 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/0.08942, allocations: 68.81 kB / 36.06 MB, free: 1.652 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.08961, allocations: 94.83 kB / 36.16 MB, free: 1.652 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.09215, allocations: 1.127 MB / 37.28 MB, free: 1.543 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.09223, allocations: 2.406 kB / 37.29 MB, free: 1.543 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.09236, allocations: 48.95 kB / 37.33 MB, free: 1.543 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.09252, allocations: 60.05 kB / 37.39 MB, free: 1.539 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.09431, allocations: 0.7668 MB / 38.16 MB, free: 1.066 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.1125, allocations: 2.022 MB / 40.18 MB, free: 7.387 MB / 24.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.1135, allocations: 0.5538 MB / 40.74 MB, free: 7.172 MB / 24.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/0.1141, allocations: 305 kB / 41.03 MB, free: 7.164 MB / 24.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.1148, allocations: 0.6064 MB / 41.64 MB, free: 6.508 MB / 24.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.1148, allocations: 35.06 kB / 41.67 MB, free: 6.469 MB / 24.8 MB Notification: Performance of pre-optimization done (n=40): time 4.068e-06/0.1148, allocations: 1.281 kB / 41.67 MB, free: 6.469 MB / 24.8 MB Notification: Performance of matching and sorting (n=40): time 0.001407/0.1162, allocations: 0.5616 MB / 42.24 MB, free: 6.371 MB / 24.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.1164, allocations: 211.8 kB / 42.44 MB, free: 6.152 MB / 24.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004554/0.1169, allocations: 303.8 kB / 42.74 MB, free: 6.043 MB / 24.8 MB Notification: Performance of collectPreVariables (initialization): time 7.128e-05/0.117, allocations: 40.48 kB / 42.78 MB, free: 6.012 MB / 24.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.1173, allocations: 341.7 kB / 43.11 MB, free: 5.832 MB / 24.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.1174, allocations: 132.8 kB / 43.24 MB, free: 5.762 MB / 24.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.1175, allocations: 14.2 kB / 43.26 MB, free: 5.762 MB / 24.8 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1177, allocations: 350.1 kB / 43.6 MB, free: 5.449 MB / 24.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.1183, allocations: 257.9 kB / 43.85 MB, free: 5.449 MB / 24.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.119, allocations: 442.4 kB / 44.28 MB, free: 5.242 MB / 24.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.1196, allocations: 346.4 kB / 44.62 MB, free: 5.176 MB / 24.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.1197, allocations: 0 / 44.62 MB, free: 5.176 MB / 24.8 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001775/0.1214, allocations: 0.7913 MB / 45.41 MB, free: 5.055 MB / 24.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.1216, allocations: 90.11 kB / 45.5 MB, free: 4.992 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.1216, allocations: 6.625 kB / 45.51 MB, free: 4.992 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.1217, allocations: 7.469 kB / 45.51 MB, free: 4.992 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005407/0.1222, allocations: 92.7 kB / 45.6 MB, free: 4.988 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/0.1223, allocations: 13.56 kB / 45.62 MB, free: 4.984 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.1228, allocations: 86.95 kB / 45.7 MB, free: 4.961 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.1229, allocations: 38.64 kB / 45.74 MB, free: 4.961 MB / 24.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.P1.fireOut[1],$PRE.P1.fireOut[2],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,P3.emptying,P2.emptying,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.fed[1],T2.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 63 * Array equations: 3 * Algorithm blocks: 2 * 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.0003535/0.1233, allocations: 251 kB / 45.99 MB, free: 4.781 MB / 24.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.1234, allocations: 44.59 kB / 46.03 MB, free: 4.762 MB / 24.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.1252, allocations: 0.678 MB / 46.71 MB, free: 4.523 MB / 24.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/0.1252, allocations: 8.578 kB / 46.72 MB, free: 4.523 MB / 24.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1253, allocations: 0 / 46.72 MB, free: 4.523 MB / 24.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.1253, allocations: 6.375 kB / 46.72 MB, free: 4.523 MB / 24.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.1281, allocations: 1.311 MB / 48.03 MB, free: 3.605 MB / 24.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.1281, allocations: 4.578 kB / 48.04 MB, free: 3.602 MB / 24.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.1286, allocations: 66.25 kB / 48.1 MB, free: 3.547 MB / 24.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.287e-06/0.1286, allocations: 0 / 48.1 MB, free: 3.547 MB / 24.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.1287, allocations: 27.53 kB / 48.13 MB, free: 3.527 MB / 24.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1287, allocations: 0 / 48.13 MB, free: 3.527 MB / 24.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1288, allocations: 1.375 kB / 48.13 MB, free: 3.527 MB / 24.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.1313, allocations: 1.014 MB / 49.14 MB, free: 2.598 MB / 24.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.1315, allocations: 120.2 kB / 49.26 MB, free: 2.465 MB / 24.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.1316, allocations: 24 kB / 49.28 MB, free: 2.441 MB / 24.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/0.1321, allocations: 48.09 kB / 49.33 MB, free: 2.406 MB / 24.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003664/0.1325, allocations: 118.3 kB / 49.45 MB, free: 2.324 MB / 24.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.745e-05/0.1326, allocations: 25.56 kB / 49.47 MB, free: 2.305 MB / 24.8 MB Notification: Performance of sorting global known variables: time 0.0003271/0.133, allocations: 199.9 kB / 49.67 MB, free: 2.129 MB / 24.8 MB Notification: Performance of sort global known variables: time 4.51e-07/0.133, allocations: 8 kB / 49.68 MB, free: 2.121 MB / 24.8 MB Notification: Performance of remove unused functions: time 0.001072/0.1341, allocations: 225.7 kB / 49.9 MB, free: 1.918 MB / 24.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 13 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 3 * Algorithm blocks: 2 * 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.0006019/0.1347, allocations: 222.5 kB / 50.11 MB, free: 1.73 MB / 24.8 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.1367, allocations: 0.8532 MB / 50.97 MB, free: 0.9219 MB / 24.8 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.1368, allocations: 4 kB / 50.97 MB, free: 0.918 MB / 24.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.1378, allocations: 491.2 kB / 51.45 MB, free: 460 kB / 24.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.1383, allocations: 48.11 kB / 51.5 MB, free: 424 kB / 24.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.1563, allocations: 1.05 MB / 52.55 MB, free: 6.684 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.1569, allocations: 1.023 MB / 53.57 MB, free: 5.98 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0006794/0.1576, allocations: 148.4 kB / 53.71 MB, free: 5.98 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.1579, allocations: 51.3 kB / 53.76 MB, free: 5.977 MB / 24.8 MB Notification: Performance of SimCode: time 1.112e-06/0.1579, allocations: 1.188 kB / 53.77 MB, free: 5.977 MB / 24.8 MB Notification: Performance of Templates: time 0.01786/0.1757, allocations: 6.147 MB / 59.91 MB, free: 3.68 MB / 24.8 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)