Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008915/0.008915, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.486e-05/1.496e-05, allocations: 0 / 19.23 MB, free: 1.988 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006548/0.0006941, allocations: 366.3 kB / 19.59 MB, free: 1.656 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01524/0.01595, allocations: 4.01 MB / 23.6 MB, free: 2.438 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001421/0.01614, allocations: 51.3 kB / 23.65 MB, free: 2.418 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.03671/0.05286, allocations: 6.914 MB / 30.56 MB, free: 0.5039 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.585e-06/0.05292, allocations: 0 / 30.56 MB, free: 0.5039 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.861e-05/0.05298, allocations: 8 kB / 30.57 MB, free: 0.4961 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.01805/0.07104, allocations: 0.6162 MB / 31.19 MB, free: 2.77 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/0.07114, allocations: 9.562 kB / 31.2 MB, free: 2.77 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.07148, allocations: 42.92 kB / 31.24 MB, free: 2.75 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009231/0.07242, allocations: 311 kB / 31.54 MB, free: 2.551 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.535e-05/0.07252, allocations: 43.19 kB / 31.58 MB, free: 2.547 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.07269, allocations: 45.64 kB / 31.63 MB, free: 2.547 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/0.07469, allocations: 0.6012 MB / 32.23 MB, free: 2.465 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.07475, allocations: 0 / 32.23 MB, free: 2.465 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.07486, allocations: 22.28 kB / 32.25 MB, free: 2.465 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.07501, allocations: 33 kB / 32.28 MB, free: 2.461 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.07642, allocations: 404.1 kB / 32.68 MB, free: 2.457 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.07973, allocations: 1.151 MB / 33.83 MB, free: 2.039 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.08042, allocations: 215.4 kB / 34.04 MB, free: 2.012 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.08093, allocations: 164.7 kB / 34.2 MB, free: 2.004 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008011/0.08175, allocations: 0.5952 MB / 34.8 MB, free: 1.348 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.08182, allocations: 33.56 kB / 34.83 MB, free: 1.309 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 4.669e-06/0.08184, allocations: 0 / 34.83 MB, free: 1.309 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.001351/0.0832, allocations: 336.9 kB / 35.16 MB, free: 1.23 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.08334, allocations: 144.5 kB / 35.3 MB, free: 1.074 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.08376, allocations: 204 kB / 35.5 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/0.08385, allocations: 31.45 kB / 35.53 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.08408, allocations: 220.3 kB / 35.74 MB, free: 0.793 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.08423, allocations: 77.47 kB / 35.82 MB, free: 0.75 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.0843, allocations: 7.375 kB / 35.83 MB, free: 0.75 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.08442, allocations: 329.2 kB / 36.15 MB, free: 448 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.08499, allocations: 140.5 kB / 36.29 MB, free: 440 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.08565, allocations: 234.6 kB / 36.52 MB, free: 328 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.08626, allocations: 190.4 kB / 36.7 MB, free: 284 kB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.08629, allocations: 0 / 36.7 MB, free: 284 kB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002592/0.0889, allocations: 443.9 kB / 37.13 MB, free: 184 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.08908, allocations: 44.58 kB / 37.18 MB, free: 148 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.08914, allocations: 11.53 kB / 37.19 MB, free: 144 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.317e-05/0.0892, allocations: 3.906 kB / 37.19 MB, free: 144 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.08976, allocations: 47.2 kB / 37.24 MB, free: 140 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.08981, allocations: 14.3 kB / 37.25 MB, free: 136 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005444/0.09037, allocations: 46.83 kB / 37.3 MB, free: 120 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.09049, allocations: 31.53 kB / 37.33 MB, free: 116 kB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 1 * 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.000339/0.09085, allocations: 174.6 kB / 37.5 MB, free: 6.164 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.091, allocations: 23.5 kB / 37.52 MB, free: 6.152 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.09247, allocations: 392.5 kB / 37.91 MB, free: 5.992 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/0.09255, allocations: 6.625 kB / 37.91 MB, free: 5.988 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.09257, allocations: 2.875 kB / 37.92 MB, free: 5.988 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.0926, allocations: 8.688 kB / 37.92 MB, free: 5.984 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.09493, allocations: 0.8106 MB / 38.73 MB, free: 5.367 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.09499, allocations: 0 / 38.73 MB, free: 5.367 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.09546, allocations: 43.67 kB / 38.78 MB, free: 5.332 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.09549, allocations: 0 / 38.78 MB, free: 5.332 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.09556, allocations: 8 kB / 38.79 MB, free: 5.324 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.09559, allocations: 7.953 kB / 38.79 MB, free: 5.316 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.09561, allocations: 7.703 kB / 38.8 MB, free: 5.312 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.09757, allocations: 0.6083 MB / 39.41 MB, free: 4.742 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.09775, allocations: 88.95 kB / 39.5 MB, free: 4.637 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.09794, allocations: 19.66 kB / 39.51 MB, free: 4.621 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.09838, allocations: 23.25 kB / 39.54 MB, free: 4.602 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.09871, allocations: 68.39 kB / 39.6 MB, free: 4.555 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.269e-05/0.09881, allocations: 19.84 kB / 39.62 MB, free: 4.539 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0002629/0.09909, allocations: 138.6 kB / 39.76 MB, free: 4.414 MB / 24.79 MB Notification: Performance of sort global known variables: time 7.51e-07/0.09911, allocations: 0 / 39.76 MB, free: 4.414 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0007868/0.09991, allocations: 164.3 kB / 39.92 MB, free: 4.273 MB / 24.79 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * Algorithm blocks: 1 * 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.0004761/0.1004, allocations: 200.4 kB / 40.12 MB, free: 4.098 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.1015, allocations: 471.6 kB / 40.58 MB, free: 3.66 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1015, allocations: 0 / 40.58 MB, free: 3.66 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.1021, allocations: 259.8 kB / 40.83 MB, free: 3.414 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1024, allocations: 23.31 kB / 40.85 MB, free: 3.395 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1041, allocations: 0.5735 MB / 41.43 MB, free: 2.879 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.1046, allocations: 0.8525 MB / 42.28 MB, free: 2.066 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.105, allocations: 89.22 kB / 42.37 MB, free: 2.012 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1052, allocations: 38.42 kB / 42.4 MB, free: 1.977 MB / 24.79 MB Notification: Performance of SimCode: time 9.42e-07/0.1052, allocations: 0 / 42.4 MB, free: 1.977 MB / 24.79 MB Notification: Performance of Templates: time 0.03146/0.1367, allocations: 3.972 MB / 46.37 MB, free: 6.613 MB / 24.79 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)