Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") translateModel(ConPNlib.Examples.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005629/0.005629, allocations: 1.362 MB / 17.26 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.446e-05/1.485e-05, allocations: 0 / 24.31 MB, free: 3.16 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005068/0.0005378, allocations: 363.8 kB / 24.67 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0009047/0.00145, allocations: 1.022 MB / 25.69 MB, free: 1.805 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.00242, allocations: 0.7108 MB / 26.4 MB, free: 1.09 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.002547, allocations: 7.094 kB / 26.41 MB, free: 1.086 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.002781, allocations: 63.58 kB / 26.47 MB, free: 1.023 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.003333, allocations: 231.3 kB / 26.69 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 7.891e-05/0.003423, allocations: 35.97 kB / 26.73 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.003676, allocations: 335 kB / 27.06 MB, free: 444 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.003882, allocations: 155.2 kB / 27.21 MB, free: 284 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.231e-05/0.003984, allocations: 127.2 kB / 27.33 MB, free: 156 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.004132, allocations: 139.1 kB / 27.47 MB, free: 16 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.00417, allocations: 8 kB / 27.47 MB, free: 8 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.004566, allocations: 215.6 kB / 27.69 MB, free: 4.441 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.004684, allocations: 71.69 kB / 27.76 MB, free: 4.371 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.004828, allocations: 146.9 kB / 27.9 MB, free: 4.227 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.005286, allocations: 383.3 kB / 28.27 MB, free: 3.852 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.005303, allocations: 0 / 28.27 MB, free: 3.852 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.228e-06/0.005317, allocations: 0 / 28.27 MB, free: 3.852 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.005343, allocations: 0 / 28.27 MB, free: 3.852 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.0008151/0.006166, allocations: 0.6059 MB / 28.88 MB, free: 3.188 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.006214, allocations: 11.78 kB / 28.89 MB, free: 3.18 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.00636, allocations: 45.78 kB / 28.94 MB, free: 3.137 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.006753, allocations: 303.6 kB / 29.23 MB, free: 2.801 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.006813, allocations: 41.36 kB / 29.27 MB, free: 2.762 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.006898, allocations: 44.38 kB / 29.32 MB, free: 2.719 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.008079, allocations: 0.6447 MB / 29.96 MB, free: 2.055 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.00811, allocations: 192 / 29.96 MB, free: 2.055 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.008168, allocations: 23.94 kB / 29.98 MB, free: 2.031 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/0.008254, allocations: 36.97 kB / 30.02 MB, free: 1.996 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.009024, allocations: 459.7 kB / 30.47 MB, free: 1.547 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/0.01577, allocations: 1.501 MB / 31.97 MB, free: 7.109 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005441/0.01635, allocations: 354.7 kB / 32.32 MB, free: 6.992 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.01662, allocations: 180 kB / 32.49 MB, free: 6.984 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003199/0.01695, allocations: 0.599 MB / 33.09 MB, free: 6.328 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.01698, allocations: 35.3 kB / 33.13 MB, free: 6.289 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 2.475e-06/0.01699, allocations: 0 / 33.13 MB, free: 6.289 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0008891/0.01788, allocations: 0.53 MB / 33.66 MB, free: 6.227 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.01794, allocations: 142.5 kB / 33.79 MB, free: 6.07 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.01812, allocations: 226.2 kB / 34.02 MB, free: 5.957 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.01815, allocations: 33.11 kB / 34.05 MB, free: 5.926 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.01825, allocations: 220.1 kB / 34.26 MB, free: 5.793 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.01835, allocations: 76.39 kB / 34.34 MB, free: 5.75 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.01841, allocations: 48.2 kB / 34.38 MB, free: 5.734 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.01848, allocations: 336.5 kB / 34.71 MB, free: 5.422 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.01872, allocations: 156 kB / 34.87 MB, free: 5.406 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.01898, allocations: 253.4 kB / 35.11 MB, free: 5.266 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.01946, allocations: 420.4 kB / 35.52 MB, free: 5.008 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01947, allocations: 0 / 35.52 MB, free: 5.008 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006697/0.02015, allocations: 0.5316 MB / 36.05 MB, free: 4.562 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.02019, allocations: 45.69 kB / 36.1 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.02021, allocations: 0 / 36.1 MB, free: 4.512 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.02023, allocations: 7.938 kB / 36.11 MB, free: 4.504 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.02045, allocations: 56.77 kB / 36.16 MB, free: 4.453 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.02046, allocations: 4 kB / 36.17 MB, free: 4.449 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.02061, allocations: 51.7 kB / 36.22 MB, free: 4.398 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.02065, allocations: 23.98 kB / 36.24 MB, free: 4.375 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 (P1.emptying,$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * 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.0001922/0.02085, allocations: 250.3 kB / 36.48 MB, free: 4.117 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.908e-05/0.02091, allocations: 23.72 kB / 36.51 MB, free: 4.094 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006424/0.02155, allocations: 469.5 kB / 36.97 MB, free: 3.633 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.02159, allocations: 9.438 kB / 36.98 MB, free: 3.625 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.0216, allocations: 0 / 36.98 MB, free: 3.625 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.02161, allocations: 3.938 kB / 36.98 MB, free: 3.621 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009377/0.02255, allocations: 0.9222 MB / 37.9 MB, free: 2.645 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.02256, allocations: 0.6562 kB / 37.9 MB, free: 2.645 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.0227, allocations: 44.59 kB / 37.95 MB, free: 2.602 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.02271, allocations: 0 / 37.95 MB, free: 2.602 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.02274, allocations: 8 kB / 37.95 MB, free: 2.594 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.02275, allocations: 4 kB / 37.96 MB, free: 2.59 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02275, allocations: 4 kB / 37.96 MB, free: 2.586 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.02361, allocations: 0.7066 MB / 38.67 MB, free: 1.859 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.02365, allocations: 110.6 kB / 38.78 MB, free: 1.734 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.15e-05/0.02374, allocations: 8 kB / 38.78 MB, free: 1.727 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.0239, allocations: 28.69 kB / 38.81 MB, free: 1.699 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.02403, allocations: 59.86 kB / 38.87 MB, free: 1.641 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.02406, allocations: 12.55 kB / 38.88 MB, free: 1.629 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.533e-05/0.02415, allocations: 145.6 kB / 39.03 MB, free: 1.488 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02416, allocations: 4 kB / 39.03 MB, free: 1.484 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004289/0.02459, allocations: 153 kB / 39.18 MB, free: 1.344 MB / 18.57 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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * Algorithm blocks: 1 * 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.0002254/0.02482, allocations: 176 kB / 39.35 MB, free: 1.18 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005707/0.0254, allocations: 490.2 kB / 39.83 MB, free: 0.6914 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02541, allocations: 2.625 kB / 39.83 MB, free: 0.6914 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002887/0.02571, allocations: 263.2 kB / 40.09 MB, free: 432 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.02602, allocations: 36.23 kB / 40.12 MB, free: 396 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/0.03294, allocations: 0.9393 MB / 41.06 MB, free: 6.121 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.03329, allocations: 0.8416 MB / 41.9 MB, free: 11.81 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.03345, allocations: 52.67 kB / 41.96 MB, free: 11.8 MB / 24.96 MB Notification: Performance of SimCode: time 6.61e-07/0.03346, allocations: 0 / 41.96 MB, free: 11.8 MB / 24.96 MB Notification: Performance of Templates: time 0.006195/0.03966, allocations: 5.205 MB / 47.16 MB, free: 7.938 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test7.makefile (rm -f ConPNlib_ConPNlib.Examples.Test7.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test7.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test7.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test7.sim & ./ConPNlib_ConPNlib.Examples.Test7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test7.pipe 2>&1)