Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01655/0.01655, allocations: 1.356 MB / 16.3 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.816e-05, allocations: 0 / 23.22 MB, free: 4.02 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008901/0.0009424, allocations: 359.5 kB / 23.57 MB, free: 3.871 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.007653/0.008617, allocations: 4.163 MB / 27.73 MB, free: 4.551 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.00887, allocations: 51.98 kB / 27.78 MB, free: 4.5 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.08105/0.08995, allocations: 13.73 MB / 41.51 MB, free: 7.238 MB / 24.88 MB Notification: Performance of FrontEnd: time 2.895e-06/0.09, allocations: 0 / 41.51 MB, free: 7.238 MB / 24.88 MB Notification: Performance of Transformations before backend: time 8.123e-05/0.09011, allocations: 19.97 kB / 41.53 MB, free: 7.238 MB / 24.88 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.002057/0.09218, allocations: 1.05 MB / 42.58 MB, free: 6.617 MB / 24.88 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.09223, allocations: 9.672 kB / 42.59 MB, free: 6.617 MB / 24.88 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000318/0.09256, allocations: 111 kB / 42.7 MB, free: 6.566 MB / 24.88 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.09375, allocations: 0.5195 MB / 43.22 MB, free: 6.32 MB / 24.88 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.09387, allocations: 87.17 kB / 43.31 MB, free: 6.316 MB / 24.88 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.09415, allocations: 117 kB / 43.42 MB, free: 6.316 MB / 24.88 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003677/0.09784, allocations: 1.533 MB / 44.95 MB, free: 6.148 MB / 24.88 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.09793, allocations: 7.406 kB / 44.96 MB, free: 6.148 MB / 24.88 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.09813, allocations: 51.34 kB / 45.01 MB, free: 6.148 MB / 24.88 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.09831, allocations: 77.64 kB / 45.09 MB, free: 6.141 MB / 24.88 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.1011, allocations: 1.068 MB / 46.15 MB, free: 6.125 MB / 24.88 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005896/0.107, allocations: 2.752 MB / 48.9 MB, free: 4.938 MB / 24.88 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.1088, allocations: 0.6367 MB / 49.54 MB, free: 4.391 MB / 24.88 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.1096, allocations: 0.6039 MB / 50.15 MB, free: 3.684 MB / 24.88 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.1097, allocations: 38.56 kB / 50.18 MB, free: 3.637 MB / 24.88 MB Notification: Performance of pre-optimization done (n=50): time 4.228e-06/0.1097, allocations: 3.938 kB / 50.19 MB, free: 3.633 MB / 24.88 MB Notification: Performance of matching and sorting (n=50): time 0.003125/0.1128, allocations: 1.226 MB / 51.41 MB, free: 2.477 MB / 24.88 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001919/0.1131, allocations: 268.9 kB / 51.68 MB, free: 2.168 MB / 24.88 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.1138, allocations: 393.2 kB / 52.06 MB, free: 1.832 MB / 24.88 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.1139, allocations: 47.97 kB / 52.11 MB, free: 1.781 MB / 24.88 MB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.1144, allocations: 445.2 kB / 52.54 MB, free: 1.395 MB / 24.88 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.1146, allocations: 165.7 kB / 52.7 MB, free: 1.254 MB / 24.88 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.037e-05/0.1147, allocations: 20 kB / 52.72 MB, free: 1.234 MB / 24.88 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1149, allocations: 357.3 kB / 53.07 MB, free: 0.8906 MB / 24.88 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.1159, allocations: 355.9 kB / 53.42 MB, free: 0.6016 MB / 24.88 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01725/0.1332, allocations: 0.6067 MB / 54.03 MB, free: 5.461 MB / 24.88 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.1345, allocations: 442 kB / 54.46 MB, free: 5.395 MB / 24.88 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.1345, allocations: 2.094 kB / 54.46 MB, free: 5.395 MB / 24.88 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002372/0.1369, allocations: 1.046 MB / 55.51 MB, free: 5.289 MB / 24.88 MB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.137, allocations: 90.64 kB / 55.59 MB, free: 5.227 MB / 24.88 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.137, allocations: 8.75 kB / 55.6 MB, free: 5.227 MB / 24.88 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.1371, allocations: 11.16 kB / 55.61 MB, free: 5.227 MB / 24.88 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006753/0.1378, allocations: 126.5 kB / 55.74 MB, free: 5.227 MB / 24.88 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/0.1378, allocations: 20.39 kB / 55.76 MB, free: 5.227 MB / 24.88 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.1385, allocations: 105.9 kB / 55.86 MB, free: 5.227 MB / 24.88 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.1386, allocations: 55.19 kB / 55.91 MB, free: 5.227 MB / 24.88 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,P1.feeding,P1.outTransition[1].arcType,P3.emptying,P4.emptying,P2.feeding,P2.outTransition[1].arcType,IA1.outTransition.arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[2],T2.activation.arcType[1],T2.activation.fed[1],T1.activation.fed[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 85 * Array equations: 4 * 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.0008397/0.1395, allocations: 453.4 kB / 56.36 MB, free: 5.043 MB / 24.88 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.1396, allocations: 51.5 kB / 56.41 MB, free: 5.043 MB / 24.88 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.1419, allocations: 0.8683 MB / 57.28 MB, free: 4.93 MB / 24.88 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/0.142, allocations: 6.75 kB / 57.28 MB, free: 4.93 MB / 24.88 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.142, allocations: 9.234 kB / 57.29 MB, free: 4.93 MB / 24.88 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.142, allocations: 3.094 kB / 57.29 MB, free: 4.93 MB / 24.88 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/0.1454, allocations: 1.614 MB / 58.91 MB, free: 4.555 MB / 24.88 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.1454, allocations: 3.938 kB / 58.91 MB, free: 4.551 MB / 24.88 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005339/0.146, allocations: 81.86 kB / 58.99 MB, free: 4.547 MB / 24.88 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.146, allocations: 3.469 kB / 59 MB, free: 4.547 MB / 24.88 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.135e-05/0.1461, allocations: 26.53 kB / 59.02 MB, free: 4.547 MB / 24.88 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1461, allocations: 0 / 59.02 MB, free: 4.547 MB / 24.88 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1461, allocations: 2.906 kB / 59.02 MB, free: 4.547 MB / 24.88 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.1491, allocations: 1.292 MB / 60.32 MB, free: 4.242 MB / 24.88 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1492, allocations: 122.6 kB / 60.44 MB, free: 4.137 MB / 24.88 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.1493, allocations: 27.38 kB / 60.46 MB, free: 4.113 MB / 24.88 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.1498, allocations: 57.38 kB / 60.52 MB, free: 4.07 MB / 24.88 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.1502, allocations: 137.3 kB / 60.65 MB, free: 3.98 MB / 24.88 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.1503, allocations: 36.36 kB / 60.69 MB, free: 3.953 MB / 24.88 MB Notification: Performance of sorting global known variables: time 0.0003673/0.1507, allocations: 251 kB / 60.93 MB, free: 3.742 MB / 24.88 MB Notification: Performance of sort global known variables: time 1.102e-06/0.1507, allocations: 4 kB / 60.94 MB, free: 3.738 MB / 24.88 MB Notification: Performance of remove unused functions: time 0.001012/0.1517, allocations: 275.9 kB / 61.21 MB, free: 3.512 MB / 24.88 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 16 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (P4.fireIn[1],P3.fireIn[1],P2.fireOut[1],P2.fireOut[2],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 4 * 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.0004641/0.1522, allocations: 221 kB / 61.42 MB, free: 3.32 MB / 24.88 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.1545, allocations: 1.114 MB / 62.54 MB, free: 2.309 MB / 24.88 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1545, allocations: 4.062 kB / 62.54 MB, free: 2.305 MB / 24.88 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.1555, allocations: 0.5943 MB / 63.14 MB, free: 1.75 MB / 24.88 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.1561, allocations: 65.95 kB / 63.2 MB, free: 1.695 MB / 24.88 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/0.1753, allocations: 2.029 MB / 65.23 MB, free: 4.648 MB / 24.88 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007683/0.1761, allocations: 1.129 MB / 66.36 MB, free: 3.941 MB / 24.88 MB Notification: Performance of simCode: alias equations: time 0.0008261/0.177, allocations: 196.1 kB / 66.55 MB, free: 3.938 MB / 24.88 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.1772, allocations: 67.19 kB / 66.61 MB, free: 3.938 MB / 24.88 MB Notification: Performance of SimCode: time 1.804e-06/0.1773, allocations: 0 / 66.61 MB, free: 3.938 MB / 24.88 MB Notification: Performance of Templates: time 0.04068/0.2179, allocations: 7.334 MB / 73.95 MB, free: 4.188 MB / 24.88 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test10.makefile (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & ./ConPNlib_ConPNlib.Examples.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)