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.006347/0.006347, allocations: 1.357 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.513e-05, allocations: 0 / 24.35 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006206/0.0006558, allocations: 364.8 kB / 24.71 MB, free: 2.773 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.001578/0.002246, allocations: 1.913 MB / 26.62 MB, free: 0.8555 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.004197, allocations: 1.005 MB / 27.63 MB, free: 4.492 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.004835, allocations: 15.09 kB / 27.64 MB, free: 4.48 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 0.0004446/0.005291, allocations: 135 kB / 27.78 MB, free: 4.348 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.006599, allocations: 370.7 kB / 28.14 MB, free: 3.984 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.006887, allocations: 63.94 kB / 28.2 MB, free: 3.922 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0009948/0.007892, allocations: 0.7232 MB / 28.92 MB, free: 3.199 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.008496, allocations: 436.1 kB / 29.35 MB, free: 2.754 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004215/0.008928, allocations: 282.1 kB / 29.62 MB, free: 2.477 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005011/0.009437, allocations: 321.7 kB / 29.94 MB, free: 2.16 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.009586, allocations: 24 kB / 29.96 MB, free: 2.137 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.01009, allocations: 227.6 kB / 30.18 MB, free: 1.914 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.01035, allocations: 187.1 kB / 30.37 MB, free: 1.73 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0004201/0.01078, allocations: 371 kB / 30.73 MB, free: 1.359 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0008964/0.01168, allocations: 0.7488 MB / 31.48 MB, free: 0.6094 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.0117, allocations: 4 kB / 31.48 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.004e-06/0.0117, allocations: 0 / 31.48 MB, free: 0.6055 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.658e-05/0.01175, allocations: 0 / 31.48 MB, free: 0.6055 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.009086/0.02084, allocations: 0.9967 MB / 32.48 MB, free: 7.211 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.0209, allocations: 9.812 kB / 32.49 MB, free: 7.211 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000381/0.02129, allocations: 106.7 kB / 32.59 MB, free: 7.16 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007851/0.02209, allocations: 0.4981 MB / 33.09 MB, free: 6.883 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.02221, allocations: 90.38 kB / 33.18 MB, free: 6.879 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.02248, allocations: 117.9 kB / 33.29 MB, free: 6.879 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002328/0.02481, allocations: 1.597 MB / 34.89 MB, free: 5.941 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.02485, allocations: 192 / 34.89 MB, free: 5.941 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.02494, allocations: 54.98 kB / 34.95 MB, free: 5.891 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.02507, allocations: 98.19 kB / 35.04 MB, free: 5.793 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.02667, allocations: 1.135 MB / 36.18 MB, free: 4.656 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003631/0.03031, allocations: 3.474 MB / 39.65 MB, free: 1 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008679/0.03119, allocations: 0.6607 MB / 40.31 MB, free: 316 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008043/0.03925, allocations: 451.2 kB / 40.75 MB, free: 6.219 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.03971, allocations: 0.5977 MB / 41.35 MB, free: 5.562 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.03976, allocations: 42.84 kB / 41.39 MB, free: 5.523 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 3.166e-06/0.03978, allocations: 0 / 41.39 MB, free: 5.523 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.001892/0.04167, allocations: 1.097 MB / 42.49 MB, free: 5.418 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.0418, allocations: 274.4 kB / 42.76 MB, free: 5.133 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005163/0.04232, allocations: 421.7 kB / 43.17 MB, free: 4.992 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/0.04238, allocations: 37.77 kB / 43.2 MB, free: 4.957 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.04271, allocations: 456.2 kB / 43.65 MB, free: 4.656 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.04284, allocations: 162.2 kB / 43.81 MB, free: 4.539 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.04289, allocations: 21.41 kB / 43.83 MB, free: 4.527 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.04299, allocations: 356.4 kB / 44.18 MB, free: 4.195 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.04349, allocations: 379.6 kB / 44.55 MB, free: 4.094 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/0.04412, allocations: 0.5984 MB / 45.15 MB, free: 3.633 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.04508, allocations: 0.9605 MB / 46.11 MB, free: 2.578 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.04509, allocations: 2.078 kB / 46.11 MB, free: 2.578 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001408/0.04651, allocations: 1.129 MB / 47.24 MB, free: 1.438 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.04658, allocations: 87.38 kB / 47.32 MB, free: 1.34 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.0466, allocations: 9.484 kB / 47.33 MB, free: 1.332 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.04663, allocations: 8.656 kB / 47.34 MB, free: 1.324 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.04696, allocations: 123.8 kB / 47.46 MB, free: 1.203 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.04699, allocations: 11.98 kB / 47.47 MB, free: 1.191 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/0.04733, allocations: 119.2 kB / 47.59 MB, free: 1.074 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.04741, allocations: 44.64 kB / 47.63 MB, free: 1.031 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004863/0.0479, allocations: 465.1 kB / 48.09 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.048, allocations: 47.53 kB / 48.13 MB, free: 0.5156 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009346/0.05735, allocations: 0.9345 MB / 49.07 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.049e-05/0.05743, allocations: 15.97 kB / 49.08 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.05744, allocations: 0 / 49.08 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.05746, allocations: 6.531 kB / 49.09 MB, free: 5.238 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002306/0.05977, allocations: 1.757 MB / 50.85 MB, free: 4.777 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.05979, allocations: 0.7812 kB / 50.85 MB, free: 4.777 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.06006, allocations: 77.78 kB / 50.92 MB, free: 4.773 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.06008, allocations: 2.156 kB / 50.93 MB, free: 4.773 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.06013, allocations: 20.61 kB / 50.95 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.06013, allocations: 0 / 50.95 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.06014, allocations: 2.656 kB / 50.95 MB, free: 4.77 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.06179, allocations: 1.416 MB / 52.37 MB, free: 3.938 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 8.602e-05/0.06189, allocations: 132.1 kB / 52.49 MB, free: 3.82 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.06198, allocations: 23.98 kB / 52.52 MB, free: 3.797 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.06223, allocations: 56.27 kB / 52.57 MB, free: 3.746 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.06247, allocations: 133.4 kB / 52.7 MB, free: 3.621 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.06253, allocations: 31.98 kB / 52.73 MB, free: 3.59 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001973/0.06273, allocations: 251.2 kB / 52.98 MB, free: 3.344 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.41e-07/0.06274, allocations: 0 / 52.98 MB, free: 3.344 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006641/0.06341, allocations: 287 kB / 53.26 MB, free: 3.102 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 (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.0003419/0.06376, allocations: 209.6 kB / 53.46 MB, free: 2.902 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.06502, allocations: 1.131 MB / 54.6 MB, free: 1.758 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.06504, allocations: 0 / 54.6 MB, free: 1.758 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.06565, allocations: 0.6027 MB / 55.2 MB, free: 1.129 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.0661, allocations: 76.95 kB / 55.27 MB, free: 1.062 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.0762, allocations: 2.28 MB / 57.55 MB, free: 4.086 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.07684, allocations: 1.088 MB / 58.64 MB, free: 9.777 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.07717, allocations: 106.5 kB / 58.74 MB, free: 9.77 MB / 24.96 MB Notification: Performance of SimCode: time 5.31e-07/0.07718, allocations: 0 / 58.74 MB, free: 9.77 MB / 24.96 MB Notification: Performance of Templates: time 0.02373/0.1009, allocations: 10.76 MB / 69.51 MB, free: 9.379 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)