Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") translateModel(ConPNlib.Examples.Test1a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test1a") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01129/0.01129, allocations: 1.359 MB / 17.27 MB, free: 4.562 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.782e-05/1.783e-05, allocations: 4 kB / 24.32 MB, free: 3.094 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000513/0.0005505, allocations: 360.4 kB / 24.67 MB, free: 2.797 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0008051/0.001372, allocations: 468 kB / 25.13 MB, free: 2.336 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.002478, allocations: 460 kB / 25.58 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.002597, allocations: 3.938 kB / 25.58 MB, free: 1.883 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.002766, allocations: 15.88 kB / 25.6 MB, free: 1.867 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006249/0.003404, allocations: 150.1 kB / 25.75 MB, free: 1.723 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 3.834e-05/0.003458, allocations: 7.984 kB / 25.75 MB, free: 1.715 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003575, allocations: 51.89 kB / 25.8 MB, free: 1.664 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.003637, allocations: 7.016 kB / 25.81 MB, free: 1.656 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.003692, allocations: 31.8 kB / 25.84 MB, free: 1.625 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.443e-05/0.003767, allocations: 27.78 kB / 25.87 MB, free: 1.598 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.00379, allocations: 0 / 25.87 MB, free: 1.598 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.00389, allocations: 19.98 kB / 25.89 MB, free: 1.578 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/0.003933, allocations: 0.9844 kB / 25.89 MB, free: 1.578 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.003982, allocations: 20.67 kB / 25.91 MB, free: 1.559 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.004121, allocations: 43.83 kB / 25.95 MB, free: 1.516 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004137, allocations: 4 kB / 25.96 MB, free: 1.512 MB / 13.93 MB Notification: Performance of FrontEnd: time 8.51e-07/0.004146, allocations: 0 / 25.96 MB, free: 1.512 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004159, allocations: 0 / 25.96 MB, free: 1.512 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003409/0.004508, allocations: 341.5 kB / 26.29 MB, free: 1.133 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.004561, allocations: 8.969 kB / 26.3 MB, free: 1.125 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.004615, allocations: 4.938 kB / 26.3 MB, free: 1.121 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.004767, allocations: 176.3 kB / 26.48 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.004801, allocations: 4.375 kB / 26.48 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.004835, allocations: 384 / 26.48 MB, free: 0.9062 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.005047, allocations: 85.61 kB / 26.56 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.005074, allocations: 1.125 kB / 26.57 MB, free: 0.8047 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.005097, allocations: 5.719 kB / 26.57 MB, free: 0.8008 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.005111, allocations: 4 kB / 26.58 MB, free: 0.7969 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.005251, allocations: 31.91 kB / 26.61 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.005757, allocations: 0.5737 MB / 27.18 MB, free: 100 kB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.005946, allocations: 81.27 kB / 27.26 MB, free: 4.637 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.006052, allocations: 34.62 kB / 27.29 MB, free: 4.594 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.006168, allocations: 81.09 kB / 27.37 MB, free: 4.496 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.006219, allocations: 38.5 kB / 27.41 MB, free: 4.449 MB / 18.57 MB Notification: Performance of pre-optimization done (n=4): time 4.409e-06/0.006237, allocations: 4 kB / 27.41 MB, free: 4.445 MB / 18.57 MB Notification: Performance of matching and sorting (n=4): time 0.0004265/0.006672, allocations: 89.44 kB / 27.5 MB, free: 4.352 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/0.006784, allocations: 132.5 kB / 27.63 MB, free: 4.191 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.006921, allocations: 113.5 kB / 27.74 MB, free: 4.07 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.006957, allocations: 30.08 kB / 27.77 MB, free: 4.035 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.335e-05/0.007042, allocations: 96.27 kB / 27.86 MB, free: 3.938 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.007079, allocations: 11.89 kB / 27.88 MB, free: 3.926 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.007133, allocations: 13.72 kB / 27.89 MB, free: 3.906 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.007284, allocations: 314.8 kB / 28.2 MB, free: 3.59 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.354e-05/0.007379, allocations: 15.98 kB / 28.21 MB, free: 3.574 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.007516, allocations: 56.22 kB / 28.27 MB, free: 3.504 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.007707, allocations: 59.36 kB / 28.33 MB, free: 3.434 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.007728, allocations: 4 kB / 28.33 MB, free: 3.43 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002877/0.008024, allocations: 93.47 kB / 28.42 MB, free: 3.332 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.008058, allocations: 8 kB / 28.43 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.008074, allocations: 0 / 28.43 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.008097, allocations: 1.312 kB / 28.43 MB, free: 3.324 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.008216, allocations: 17.25 kB / 28.45 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.008241, allocations: 0 / 28.45 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.482e-05/0.008345, allocations: 12.09 kB / 28.46 MB, free: 3.297 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.008378, allocations: 11.98 kB / 28.47 MB, free: 3.285 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001228/0.008511, allocations: 122.5 kB / 28.59 MB, free: 3.156 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.008633, allocations: 3.906 kB / 28.59 MB, free: 3.152 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/0.008716, allocations: 7.891 kB / 28.6 MB, free: 3.137 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.008737, allocations: 3.984 kB / 28.61 MB, free: 3.133 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008748, allocations: 0 / 28.61 MB, free: 3.133 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.008811, allocations: 89.05 kB / 28.69 MB, free: 3.027 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.008844, allocations: 0 / 28.69 MB, free: 3.027 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.009116, allocations: 16 kB / 28.71 MB, free: 3.012 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.009169, allocations: 7.922 kB / 28.72 MB, free: 3.004 MB / 18.57 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004131/0.009595, allocations: 315.5 kB / 29.02 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004518/0.01006, allocations: 409.2 kB / 29.42 MB, free: 2.27 MB / 18.57 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.025e-05/0.01017, allocations: 20.16 kB / 29.44 MB, free: 2.25 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.733e-05/0.01025, allocations: 94.55 kB / 29.54 MB, free: 2.16 MB / 18.57 MB Notification: Performance of Backend: time 5.11e-07/0.01026, allocations: 0 / 29.54 MB, free: 2.16 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.01117, allocations: 114.2 kB / 29.65 MB, free: 2.043 MB / 18.57 MB Notification: Performance of SimCode: time 0.0007474/0.01193, allocations: 0.6134 MB / 30.26 MB, free: 1.383 MB / 18.57 MB Notification: Performance of Templates: time 0.004758/0.01671, allocations: 0.98 MB / 31.24 MB, free: 420 kB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test1a.makefile (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & ./ConPNlib_ConPNlib.Examples.Test1a -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)