Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005114/0.005114, allocations: 1.371 MB / 16.97 MB, free: 5.148 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 9.458e-06/9.478e-06, allocations: 0 / 23.87 MB, free: 3.93 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003416/0.0003648, allocations: 364.7 kB / 24.23 MB, free: 3.633 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001189/0.001561, allocations: 1.768 MB / 25.99 MB, free: 1.863 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.002644, allocations: 0.9536 MB / 26.95 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001863/0.002842, allocations: 10.44 kB / 26.96 MB, free: 0.8984 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.003044, allocations: 131 kB / 27.09 MB, free: 0.7695 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.00367, allocations: 352.5 kB / 27.43 MB, free: 436 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.924e-05/0.003781, allocations: 47.95 kB / 27.48 MB, free: 388 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.004303, allocations: 0.6973 MB / 28.17 MB, free: 4.324 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.004731, allocations: 359.6 kB / 28.53 MB, free: 3.961 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.004966, allocations: 274.3 kB / 28.79 MB, free: 3.691 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.005258, allocations: 297.9 kB / 29.08 MB, free: 3.398 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.005328, allocations: 28 kB / 29.11 MB, free: 3.371 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.005643, allocations: 207.6 kB / 29.31 MB, free: 3.168 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.005793, allocations: 167.2 kB / 29.48 MB, free: 3.004 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.005908, allocations: 153.2 kB / 29.63 MB, free: 2.848 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.00655, allocations: 0.7525 MB / 30.38 MB, free: 2.094 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006561, allocations: 0 / 30.38 MB, free: 2.094 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.193e-06/0.006568, allocations: 0 / 30.38 MB, free: 2.094 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.006581, allocations: 0 / 30.38 MB, free: 2.094 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001054/0.007639, allocations: 0.9946 MB / 31.37 MB, free: 1.035 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.007677, allocations: 16.23 kB / 31.39 MB, free: 1.02 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.007839, allocations: 107.6 kB / 31.5 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005807/0.008426, allocations: 0.4889 MB / 31.98 MB, free: 392 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.008512, allocations: 90.59 kB / 32.07 MB, free: 300 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.008652, allocations: 123.7 kB / 32.19 MB, free: 180 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006678/0.01534, allocations: 1.581 MB / 33.78 MB, free: 6.969 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.01537, allocations: 176 / 33.78 MB, free: 6.969 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.01546, allocations: 55.88 kB / 33.83 MB, free: 6.934 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.01558, allocations: 101 kB / 33.93 MB, free: 6.902 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.01692, allocations: 1.127 MB / 35.06 MB, free: 6.129 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.02019, allocations: 3.47 MB / 38.52 MB, free: 2.516 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.0212, allocations: 0.6661 MB / 39.19 MB, free: 1.82 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004794/0.02169, allocations: 450.2 kB / 39.63 MB, free: 1.379 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.022, allocations: 0.5938 MB / 40.22 MB, free: 0.6562 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.02203, allocations: 38.94 kB / 40.26 MB, free: 0.6094 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 2.004e-06/0.02204, allocations: 3.828 kB / 40.27 MB, free: 0.6094 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.006386/0.02843, allocations: 1.1 MB / 41.37 MB, free: 6.094 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.02852, allocations: 266.8 kB / 41.63 MB, free: 5.812 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003363/0.02886, allocations: 415.2 kB / 42.03 MB, free: 5.703 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.0289, allocations: 37.14 kB / 42.07 MB, free: 5.672 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.0291, allocations: 458 kB / 42.52 MB, free: 5.43 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-05/0.02919, allocations: 166.9 kB / 42.68 MB, free: 5.336 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.02923, allocations: 14.08 kB / 42.69 MB, free: 5.336 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.02929, allocations: 359.2 kB / 43.04 MB, free: 5.023 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/0.02975, allocations: 379.8 kB / 43.41 MB, free: 4.996 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.03029, allocations: 0.5932 MB / 44.01 MB, free: 4.629 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.03077, allocations: 464.9 kB / 44.46 MB, free: 4.434 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.03078, allocations: 3.594 kB / 44.46 MB, free: 4.434 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001258/0.03205, allocations: 1.129 MB / 45.59 MB, free: 3.801 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.03211, allocations: 87.38 kB / 45.68 MB, free: 3.703 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.03212, allocations: 8 kB / 45.69 MB, free: 3.695 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.03214, allocations: 8.406 kB / 45.7 MB, free: 3.688 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.03246, allocations: 123.8 kB / 45.82 MB, free: 3.566 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.03248, allocations: 15.92 kB / 45.83 MB, free: 3.551 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.0328, allocations: 115.2 kB / 45.94 MB, free: 3.438 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/0.03287, allocations: 47.98 kB / 45.99 MB, free: 3.391 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 ($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,IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].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.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[1],T2.activation.arcType[1],T1.activation.arcType[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.fed[2],T1.activation.fed[1],T2.outPlaces[1].enabledByInPlaces,T1.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 (87): * Single equations (assignments): 81 * 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.0003965/0.03328, allocations: 443.6 kB / 46.42 MB, free: 2.938 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.03335, allocations: 48.56 kB / 46.47 MB, free: 2.891 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.0345, allocations: 0.9548 MB / 47.43 MB, free: 1.918 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.03454, allocations: 13.5 kB / 47.44 MB, free: 1.906 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.03455, allocations: 2.922 kB / 47.44 MB, free: 1.906 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.03456, allocations: 3.984 kB / 47.45 MB, free: 1.902 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007239/0.0418, allocations: 1.745 MB / 49.19 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.04183, allocations: 2.875 kB / 49.19 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.04209, allocations: 78.11 kB / 49.27 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.04211, allocations: 3.266 kB / 49.27 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.04215, allocations: 22.89 kB / 49.3 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.04216, allocations: 0 / 49.3 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.04217, allocations: 8.25 kB / 49.3 MB, free: 5.023 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.04374, allocations: 1.403 MB / 50.71 MB, free: 4.832 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/0.04382, allocations: 131.5 kB / 50.84 MB, free: 4.738 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.72e-05/0.0439, allocations: 30.34 kB / 50.86 MB, free: 4.73 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.04415, allocations: 59.12 kB / 50.92 MB, free: 4.723 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.04436, allocations: 134 kB / 51.05 MB, free: 4.691 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.04441, allocations: 28.48 kB / 51.08 MB, free: 4.688 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.000182/0.0446, allocations: 252 kB / 51.33 MB, free: 4.555 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.41e-07/0.04461, allocations: 0 / 51.33 MB, free: 4.555 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006062/0.04522, allocations: 287 kB / 51.61 MB, free: 4.516 MB / 18.57 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: 17 (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.fed[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 (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,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * 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.0002549/0.04548, allocations: 212.1 kB / 51.81 MB, free: 4.41 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.04664, allocations: 1.122 MB / 52.94 MB, free: 3.68 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.04665, allocations: 0 / 52.94 MB, free: 3.68 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.04719, allocations: 0.6082 MB / 53.55 MB, free: 3.094 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.04758, allocations: 78.44 kB / 53.62 MB, free: 3.023 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.04972, allocations: 2.197 MB / 55.82 MB, free: 0.8125 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00603/0.05576, allocations: 1.081 MB / 56.9 MB, free: 10.44 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.05603, allocations: 113.6 kB / 57.01 MB, free: 10.44 MB / 24.96 MB Notification: Performance of SimCode: time 4.11e-07/0.05604, allocations: 0 / 57.01 MB, free: 10.44 MB / 24.96 MB Notification: Performance of Templates: time 0.01174/0.06778, allocations: 10.74 MB / 67.75 MB, free: 1.992 MB / 24.96 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)