Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005498/0.005498, allocations: 1.361 MB / 17.26 MB, free: 4.566 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.323e-05, allocations: 4 kB / 24.31 MB, free: 3.156 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004818/0.0005114, allocations: 358.9 kB / 24.66 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.0009313/0.001452, allocations: 1.033 MB / 25.69 MB, free: 1.805 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002549, allocations: 0.7029 MB / 26.4 MB, free: 1.098 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.002723, allocations: 11.09 kB / 26.41 MB, free: 1.09 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.002937, allocations: 63.58 kB / 26.47 MB, free: 1.027 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006194/0.003565, allocations: 227.3 kB / 26.69 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.855e-05/0.003665, allocations: 39.91 kB / 26.73 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.00394, allocations: 331 kB / 27.05 MB, free: 452 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.00412, allocations: 150 kB / 27.2 MB, free: 296 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.004241, allocations: 127.2 kB / 27.32 MB, free: 168 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.004425, allocations: 139.1 kB / 27.46 MB, free: 28 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.004468, allocations: 12 kB / 27.47 MB, free: 16 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.00482, allocations: 215.6 kB / 27.68 MB, free: 4.449 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 9.432e-05/0.004925, allocations: 75.69 kB / 27.76 MB, free: 4.375 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.005055, allocations: 142.9 kB / 27.9 MB, free: 4.234 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0004496/0.005511, allocations: 383.3 kB / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.005552, allocations: 0 / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005563, allocations: 0 / 28.27 MB, free: 3.859 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.005575, allocations: 0 / 28.27 MB, free: 3.859 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.0007356/0.006315, allocations: 0.602 MB / 28.87 MB, free: 3.199 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.00636, allocations: 12.97 kB / 28.89 MB, free: 3.188 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.006518, allocations: 41.78 kB / 28.93 MB, free: 3.148 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.006865, allocations: 307.7 kB / 29.23 MB, free: 2.809 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.006916, allocations: 41.3 kB / 29.27 MB, free: 2.77 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.006995, allocations: 44.38 kB / 29.31 MB, free: 2.727 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.008026, allocations: 0.6447 MB / 29.95 MB, free: 2.062 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.008052, allocations: 192 / 29.95 MB, free: 2.062 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.0081, allocations: 23.41 kB / 29.98 MB, free: 2.043 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.884e-05/0.008174, allocations: 44.97 kB / 30.02 MB, free: 2 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.008945, allocations: 451.7 kB / 30.46 MB, free: 1.559 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007162/0.01612, allocations: 1.51 MB / 31.97 MB, free: 7.113 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005863/0.01673, allocations: 349.1 kB / 32.31 MB, free: 6.996 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.017, allocations: 182.6 kB / 32.49 MB, free: 6.988 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.01736, allocations: 0.5965 MB / 33.09 MB, free: 6.332 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.01738, allocations: 37.02 kB / 33.12 MB, free: 6.293 MB / 18.57 MB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.01739, allocations: 0 / 33.12 MB, free: 6.293 MB / 18.57 MB Notification: Performance of matching and sorting (n=22): time 0.000927/0.01832, allocations: 0.5301 MB / 33.65 MB, free: 6.23 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.01838, allocations: 147.2 kB / 33.8 MB, free: 6.074 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.0186, allocations: 225.3 kB / 34.02 MB, free: 5.961 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.01863, allocations: 29.17 kB / 34.05 MB, free: 5.93 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01873, allocations: 216.9 kB / 34.26 MB, free: 5.797 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.01879, allocations: 80.88 kB / 34.34 MB, free: 5.754 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.01885, allocations: 47.73 kB / 34.38 MB, free: 5.738 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.01891, allocations: 335.8 kB / 34.71 MB, free: 5.426 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.01914, allocations: 158.8 kB / 34.87 MB, free: 5.406 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.0194, allocations: 247.4 kB / 35.11 MB, free: 5.27 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.01986, allocations: 419.7 kB / 35.52 MB, free: 5.027 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01988, allocations: 0 / 35.52 MB, free: 5.027 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006563/0.02054, allocations: 0.5307 MB / 36.05 MB, free: 4.594 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.933e-05/0.02059, allocations: 49.69 kB / 36.1 MB, free: 4.539 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.0206, allocations: 4 kB / 36.1 MB, free: 4.535 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.02062, allocations: 3.938 kB / 36.11 MB, free: 4.531 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.02079, allocations: 51.91 kB / 36.16 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.02081, allocations: 7.828 kB / 36.16 MB, free: 4.477 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.02099, allocations: 53.19 kB / 36.22 MB, free: 4.426 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.02103, allocations: 19.98 kB / 36.24 MB, free: 4.406 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.0001995/0.02124, allocations: 249.5 kB / 36.48 MB, free: 4.148 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.0213, allocations: 23.72 kB / 36.5 MB, free: 4.125 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006587/0.02196, allocations: 474.5 kB / 36.97 MB, free: 3.66 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.02199, allocations: 10.11 kB / 36.98 MB, free: 3.652 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.022, allocations: 0 / 36.98 MB, free: 3.652 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.02201, allocations: 7.922 kB / 36.98 MB, free: 3.645 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/0.023, allocations: 0.9215 MB / 37.9 MB, free: 2.668 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02302, allocations: 0 / 37.9 MB, free: 2.668 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.02316, allocations: 33.8 kB / 37.94 MB, free: 2.637 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.02317, allocations: 0 / 37.94 MB, free: 2.637 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.0232, allocations: 17.77 kB / 37.96 MB, free: 2.621 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.0232, allocations: 4 kB / 37.96 MB, free: 2.617 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02321, allocations: 0 / 37.96 MB, free: 2.617 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.02406, allocations: 0.7095 MB / 38.67 MB, free: 1.887 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.0241, allocations: 104.7 kB / 38.77 MB, free: 1.766 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/0.02415, allocations: 12 kB / 38.78 MB, free: 1.754 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.0243, allocations: 23.98 kB / 38.81 MB, free: 1.73 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.02443, allocations: 64.56 kB / 38.87 MB, free: 1.668 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.02447, allocations: 12 kB / 38.88 MB, free: 1.656 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001113/0.02458, allocations: 145.6 kB / 39.02 MB, free: 1.516 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.51e-07/0.0246, allocations: 4.062 kB / 39.03 MB, free: 1.512 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004154/0.02502, allocations: 143 kB / 39.17 MB, free: 1.379 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.0002526/0.02528, allocations: 186 kB / 39.35 MB, free: 1.207 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006698/0.02595, allocations: 486.2 kB / 39.82 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02597, allocations: 0 / 39.82 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.02624, allocations: 269.7 kB / 40.09 MB, free: 460 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.02661, allocations: 35.53 kB / 40.12 MB, free: 428 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/0.03324, allocations: 0.9317 MB / 41.05 MB, free: 6.109 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.0335, allocations: 0.8404 MB / 41.89 MB, free: 5.41 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.03369, allocations: 57.8 kB / 41.95 MB, free: 5.402 MB / 18.57 MB Notification: Performance of SimCode: time 6.11e-07/0.0337, allocations: 0 / 41.95 MB, free: 5.402 MB / 18.57 MB Notification: Performance of Templates: time 0.005905/0.03961, allocations: 5.206 MB / 47.16 MB, free: 1.578 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)