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.00517/0.00517, allocations: 1.357 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.209e-05/1.218e-05, allocations: 0 / 24.36 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003182/0.0003463, allocations: 366.9 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test7): time 0.0008675/0.001223, allocations: 1.009 MB / 25.72 MB, free: 1.762 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.002239, allocations: 0.6891 MB / 26.41 MB, free: 1.07 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.002425, allocations: 8.75 kB / 26.42 MB, free: 1.062 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001808/0.002614, allocations: 63.58 kB / 26.48 MB, free: 1 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.003226, allocations: 234.4 kB / 26.71 MB, free: 0.7734 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.273e-05/0.003329, allocations: 35.91 kB / 26.75 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.003612, allocations: 339 kB / 27.08 MB, free: 416 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.00379, allocations: 144.4 kB / 27.22 MB, free: 264 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.003918, allocations: 131.2 kB / 27.35 MB, free: 132 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.004086, allocations: 135.1 kB / 27.48 MB, free: 4.637 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.004134, allocations: 12 kB / 27.49 MB, free: 4.625 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.004487, allocations: 211.6 kB / 27.7 MB, free: 4.422 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/0.004591, allocations: 75.62 kB / 27.77 MB, free: 4.348 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.004746, allocations: 172.7 kB / 27.94 MB, free: 4.172 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0004646/0.005218, allocations: 379.3 kB / 28.31 MB, free: 3.801 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005228, allocations: 0 / 28.31 MB, free: 3.801 MB / 18.57 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005235, allocations: 4 kB / 28.31 MB, free: 3.797 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.00525, allocations: 0 / 28.31 MB, free: 3.797 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.0007518/0.006006, allocations: 0.602 MB / 28.92 MB, free: 3.137 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.006047, allocations: 8.969 kB / 28.93 MB, free: 3.129 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.006145, allocations: 44.47 kB / 28.97 MB, free: 3.086 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.006494, allocations: 307.6 kB / 29.27 MB, free: 2.746 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.006545, allocations: 41.36 kB / 29.31 MB, free: 2.707 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.399e-05/0.006624, allocations: 44.38 kB / 29.35 MB, free: 2.664 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.007584, allocations: 0.6447 MB / 30 MB, free: 2 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.007608, allocations: 192 / 30 MB, free: 2 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.00766, allocations: 29.7 kB / 30.03 MB, free: 1.973 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.007731, allocations: 36.97 kB / 30.06 MB, free: 1.938 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/0.008453, allocations: 459.7 kB / 30.51 MB, free: 1.488 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007243/0.01571, allocations: 1.496 MB / 32.01 MB, free: 7.164 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/0.01622, allocations: 357.7 kB / 32.36 MB, free: 7.047 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.01646, allocations: 181.3 kB / 32.53 MB, free: 7.039 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.01677, allocations: 0.5958 MB / 33.13 MB, free: 6.383 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.0168, allocations: 33.27 kB / 33.16 MB, free: 6.344 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.01681, allocations: 0.5625 kB / 33.16 MB, free: 6.344 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.0008048/0.01762, allocations: 0.5347 MB / 33.7 MB, free: 6.281 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.01768, allocations: 145.3 kB / 33.84 MB, free: 6.125 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.01784, allocations: 225 kB / 34.06 MB, free: 6.012 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.01787, allocations: 28.95 kB / 34.09 MB, free: 5.98 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.01799, allocations: 223.4 kB / 34.31 MB, free: 5.844 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.01804, allocations: 72.78 kB / 34.38 MB, free: 5.801 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.01806, allocations: 11.53 kB / 34.39 MB, free: 5.801 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.795e-05/0.01812, allocations: 330.2 kB / 34.71 MB, free: 5.488 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.01834, allocations: 159 kB / 34.87 MB, free: 5.469 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.01859, allocations: 250 kB / 35.11 MB, free: 5.328 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.01901, allocations: 420.8 kB / 35.52 MB, free: 5.078 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01903, allocations: 0.5 kB / 35.52 MB, free: 5.078 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006298/0.01966, allocations: 0.5341 MB / 36.06 MB, free: 4.648 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.01971, allocations: 41.69 kB / 36.1 MB, free: 4.602 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01972, allocations: 4 kB / 36.1 MB, free: 4.598 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.01974, allocations: 4 kB / 36.1 MB, free: 4.594 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.01991, allocations: 59.67 kB / 36.16 MB, free: 4.539 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01992, allocations: 7.984 kB / 36.17 MB, free: 4.531 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.02007, allocations: 51.8 kB / 36.22 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.02011, allocations: 23.94 kB / 36.24 MB, free: 4.457 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 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[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.0001912/0.02031, allocations: 251.1 kB / 36.49 MB, free: 4.199 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.02036, allocations: 19.72 kB / 36.51 MB, free: 4.18 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/0.02098, allocations: 480.2 kB / 36.98 MB, free: 3.711 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.02101, allocations: 7.938 kB / 36.98 MB, free: 3.703 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.02102, allocations: 0 / 36.98 MB, free: 3.703 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02103, allocations: 0 / 36.98 MB, free: 3.703 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.02193, allocations: 0.9214 MB / 37.91 MB, free: 2.727 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02194, allocations: 0 / 37.91 MB, free: 2.727 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.02208, allocations: 39.92 kB / 37.95 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.02209, allocations: 0 / 37.95 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.02212, allocations: 15.98 kB / 37.96 MB, free: 2.672 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.02212, allocations: 2.188 kB / 37.96 MB, free: 2.672 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02213, allocations: 0 / 37.96 MB, free: 2.672 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009273/0.02306, allocations: 0.7093 MB / 38.67 MB, free: 1.941 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.02311, allocations: 96.8 kB / 38.77 MB, free: 1.828 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.869e-05/0.02317, allocations: 20.62 kB / 38.79 MB, free: 1.809 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.02334, allocations: 31.92 kB / 38.82 MB, free: 1.777 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.0235, allocations: 61.02 kB / 38.88 MB, free: 1.719 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.02353, allocations: 8 kB / 38.89 MB, free: 1.711 MB / 18.57 MB Notification: Performance of sorting global known variables: time 9.199e-05/0.02363, allocations: 149.7 kB / 39.03 MB, free: 1.566 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.71e-07/0.02364, allocations: 0 / 39.03 MB, free: 1.566 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004696/0.02412, allocations: 148 kB / 39.18 MB, free: 1.43 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.0002891/0.02441, allocations: 178.6 kB / 39.35 MB, free: 1.262 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006995/0.02513, allocations: 482.2 kB / 39.82 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.02514, allocations: 7.172 kB / 39.83 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.02546, allocations: 263.2 kB / 40.09 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.02584, allocations: 42.75 kB / 40.13 MB, free: 484 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/0.03255, allocations: 0.9423 MB / 41.07 MB, free: 6.156 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.03287, allocations: 0.8372 MB / 41.91 MB, free: 11.84 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.03301, allocations: 55.86 kB / 41.96 MB, free: 11.84 MB / 24.96 MB Notification: Performance of SimCode: time 4.31e-07/0.03302, allocations: 0 / 41.96 MB, free: 11.84 MB / 24.96 MB Notification: Performance of Templates: time 0.00603/0.03905, allocations: 5.202 MB / 47.16 MB, free: 8.055 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)