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.005387/0.005387, allocations: 1.36 MB / 17.3 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.501e-05/1.513e-05, allocations: 0 / 24.36 MB, free: 3.102 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000622/0.000657, allocations: 361.7 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0006759/0.001343, allocations: 460.1 kB / 25.16 MB, free: 2.32 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.000751/0.002109, allocations: 446.6 kB / 25.59 MB, free: 1.883 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.002216, allocations: 0 / 25.59 MB, free: 1.883 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.002347, allocations: 28.61 kB / 25.62 MB, free: 1.855 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.002834, allocations: 142.8 kB / 25.76 MB, free: 1.719 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 3.09e-05/0.002876, allocations: 7.984 kB / 25.77 MB, free: 1.711 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 9.034e-05/0.002973, allocations: 59.78 kB / 25.83 MB, free: 1.652 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.971e-05/0.003049, allocations: 8.766 kB / 25.84 MB, free: 1.641 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 4.329e-05/0.0031, allocations: 23.86 kB / 25.86 MB, free: 1.617 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 6.32e-05/0.00317, allocations: 26.56 kB / 25.89 MB, free: 1.594 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.003186, allocations: 0 / 25.89 MB, free: 1.594 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 8.197e-05/0.003273, allocations: 23.98 kB / 25.91 MB, free: 1.57 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.003302, allocations: 8.906 kB / 25.92 MB, free: 1.562 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.003336, allocations: 33.64 kB / 25.95 MB, free: 1.523 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 8.627e-05/0.003428, allocations: 31.94 kB / 25.98 MB, free: 1.492 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003436, allocations: 3.938 kB / 25.99 MB, free: 1.488 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003442, allocations: 4 kB / 25.99 MB, free: 1.484 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.00345, allocations: 0 / 25.99 MB, free: 1.484 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.0002846/0.00374, allocations: 338.7 kB / 26.32 MB, free: 1.105 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.003788, allocations: 12.31 kB / 26.33 MB, free: 1.094 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.003828, allocations: 5.531 kB / 26.34 MB, free: 1.09 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.003956, allocations: 181.5 kB / 26.52 MB, free: 0.875 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.003984, allocations: 384 / 26.52 MB, free: 0.875 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.004009, allocations: 4.375 kB / 26.52 MB, free: 0.8711 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.00418, allocations: 80.05 kB / 26.6 MB, free: 0.7773 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.0042, allocations: 4.188 kB / 26.6 MB, free: 0.7734 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.004217, allocations: 7.875 kB / 26.61 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.004226, allocations: 1.781 kB / 26.61 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.004317, allocations: 27.97 kB / 26.64 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.004713, allocations: 0.5776 MB / 27.22 MB, free: 68 kB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.004866, allocations: 83.72 kB / 27.3 MB, free: 4.602 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.004934, allocations: 30.62 kB / 27.33 MB, free: 4.562 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-05/0.005017, allocations: 85.09 kB / 27.41 MB, free: 4.461 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.005061, allocations: 30.56 kB / 27.44 MB, free: 4.422 MB / 18.57 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.005068, allocations: 0 / 27.44 MB, free: 4.422 MB / 18.57 MB Notification: Performance of matching and sorting (n=4): time 0.0003053/0.005381, allocations: 95.33 kB / 27.53 MB, free: 4.324 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.461e-05/0.005474, allocations: 132.5 kB / 27.66 MB, free: 4.164 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.699e-05/0.005578, allocations: 117.5 kB / 27.78 MB, free: 4.039 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.005601, allocations: 25.7 kB / 27.8 MB, free: 4.008 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.191e-05/0.005679, allocations: 92.42 kB / 27.89 MB, free: 3.914 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.005703, allocations: 19.77 kB / 27.91 MB, free: 3.895 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.005714, allocations: 4 kB / 27.92 MB, free: 3.891 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.005831, allocations: 314.8 kB / 28.22 MB, free: 3.574 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.00589, allocations: 15.98 kB / 28.24 MB, free: 3.559 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-05/0.005966, allocations: 48.28 kB / 28.29 MB, free: 3.496 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.00609, allocations: 63.39 kB / 28.35 MB, free: 3.422 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.006104, allocations: 7.938 kB / 28.36 MB, free: 3.414 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000172/0.00628, allocations: 93.44 kB / 28.45 MB, free: 3.316 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.006305, allocations: 8 kB / 28.46 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.006315, allocations: 0 / 28.46 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.006332, allocations: 0 / 28.46 MB, free: 3.309 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.956e-05/0.006415, allocations: 15.98 kB / 28.47 MB, free: 3.293 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.006429, allocations: 0 / 28.47 MB, free: 3.293 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.869e-05/0.006492, allocations: 8 kB / 28.48 MB, free: 3.285 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.006517, allocations: 12.08 kB / 28.49 MB, free: 3.273 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 9.609e-05/0.00662, allocations: 118.6 kB / 28.61 MB, free: 3.148 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/0.006683, allocations: 7.906 kB / 28.61 MB, free: 3.141 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.006744, allocations: 7.891 kB / 28.62 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006755, allocations: 0 / 28.62 MB, free: 3.125 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.006767, allocations: 4.047 kB / 28.63 MB, free: 3.121 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.006779, allocations: 7.969 kB / 28.63 MB, free: 3.113 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.007114, allocations: 177.5 kB / 28.81 MB, free: 2.891 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.007128, allocations: 4 kB / 28.81 MB, free: 2.887 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.007181, allocations: 8 kB / 28.82 MB, free: 2.879 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.00719, allocations: 0 / 28.82 MB, free: 2.879 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.007206, allocations: 4 kB / 28.82 MB, free: 2.875 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.007213, allocations: 0 / 28.82 MB, free: 2.875 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.007219, allocations: 160 / 28.82 MB, free: 2.875 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.007524, allocations: 341.9 kB / 29.16 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.007586, allocations: 77.14 kB / 29.23 MB, free: 2.43 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.007612, allocations: 7.984 kB / 29.24 MB, free: 2.422 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.007741, allocations: 8 kB / 29.25 MB, free: 2.414 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.007778, allocations: 4 kB / 29.25 MB, free: 2.41 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.007793, allocations: 7.172 kB / 29.26 MB, free: 2.406 MB / 18.57 MB Notification: Performance of sorting global known variables: time 4.389e-05/0.007844, allocations: 91.34 kB / 29.35 MB, free: 2.316 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.723e-06/0.007851, allocations: 0 / 29.35 MB, free: 2.316 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002882/0.008144, allocations: 15.94 kB / 29.36 MB, free: 2.301 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001318/0.008282, allocations: 103.8 kB / 29.47 MB, free: 2.191 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.008446, allocations: 47.91 kB / 29.51 MB, free: 2.145 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.008459, allocations: 4.188 kB / 29.52 MB, free: 2.141 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 5.345e-05/0.008518, allocations: 19.94 kB / 29.54 MB, free: 2.121 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.00891, allocations: 15.92 kB / 29.55 MB, free: 2.105 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.009382, allocations: 218.9 kB / 29.77 MB, free: 1.855 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.009665, allocations: 0.685 MB / 30.45 MB, free: 1.145 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.00973, allocations: 31.34 kB / 30.48 MB, free: 1.113 MB / 18.57 MB Notification: Performance of SimCode: time 4e-07/0.009736, allocations: 0 / 30.48 MB, free: 1.113 MB / 18.57 MB Notification: Performance of Templates: time 0.002578/0.01232, allocations: 0.9803 MB / 31.46 MB, free: 140 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)