Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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: "" <> buildModelFMU(ConPNlib.Examples.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test11,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01672/0.01672, allocations: 1.355 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.494e-05, allocations: 0 / 23.32 MB, free: 3.945 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008872/0.0009641, allocations: 364.6 kB / 23.68 MB, free: 3.781 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.00787/0.00886, allocations: 4.117 MB / 27.79 MB, free: 4.461 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.009075, allocations: 51.98 kB / 27.84 MB, free: 4.41 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.05413/0.06322, allocations: 10.82 MB / 38.66 MB, free: 2.801 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.165e-06/0.06327, allocations: 0 / 38.66 MB, free: 2.801 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.705e-05/0.06332, allocations: 16.5 kB / 38.68 MB, free: 2.785 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001597/0.06492, allocations: 0.89 MB / 39.57 MB, free: 1.832 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.06498, allocations: 8.297 kB / 39.57 MB, free: 1.824 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002687/0.06526, allocations: 147.5 kB / 39.72 MB, free: 1.672 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.06549, allocations: 80.02 kB / 39.8 MB, free: 1.594 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.06637, allocations: 461.8 kB / 40.25 MB, free: 1.102 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.06645, allocations: 66.33 kB / 40.31 MB, free: 1.035 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.06664, allocations: 88.33 kB / 40.4 MB, free: 0.9492 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01623/0.08288, allocations: 1.182 MB / 41.58 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.08296, allocations: 0 / 41.58 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.0831, allocations: 42.14 kB / 41.62 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001645/0.08328, allocations: 57.2 kB / 41.68 MB, free: 1.645 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.08554, allocations: 0.8291 MB / 42.51 MB, free: 1.641 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.0895, allocations: 2.051 MB / 44.56 MB, free: 1.074 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.09083, allocations: 0.5595 MB / 45.12 MB, free: 0.9531 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.09198, allocations: 1.027 MB / 46.14 MB, free: 6.031 MB / 24.78 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.09204, allocations: 43.33 kB / 46.19 MB, free: 5.988 MB / 24.78 MB Notification: Performance of pre-optimization done (n=43): time 4.038e-06/0.09206, allocations: 0 / 46.19 MB, free: 5.988 MB / 24.78 MB Notification: Performance of matching and sorting (n=43): time 0.006193/0.09826, allocations: 1.42 MB / 47.61 MB, free: 5.398 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002326/0.09854, allocations: 209.3 kB / 47.81 MB, free: 5.172 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006268/0.09919, allocations: 290.5 kB / 48.09 MB, free: 5.008 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.09935, allocations: 35.89 kB / 48.13 MB, free: 4.973 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004069/0.09978, allocations: 341.8 kB / 48.46 MB, free: 4.727 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.1001, allocations: 137.8 kB / 48.6 MB, free: 4.633 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/0.1002, allocations: 13.25 kB / 48.61 MB, free: 4.625 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.1005, allocations: 345.9 kB / 48.95 MB, free: 4.297 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.1017, allocations: 292.3 kB / 49.23 MB, free: 4.215 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001403/0.1031, allocations: 461.4 kB / 49.68 MB, free: 3.902 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.1045, allocations: 368.5 kB / 50.04 MB, free: 3.57 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.1046, allocations: 0 / 50.04 MB, free: 3.57 MB / 24.78 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003726/0.1083, allocations: 0.9278 MB / 50.97 MB, free: 2.746 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.1085, allocations: 86.02 kB / 51.06 MB, free: 2.656 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/0.1086, allocations: 8 kB / 51.06 MB, free: 2.648 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005652/0.1142, allocations: 457.3 kB / 51.51 MB, free: 2.309 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.115, allocations: 76.78 kB / 51.59 MB, free: 2.242 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.1168, allocations: 0.7914 MB / 52.38 MB, free: 1.496 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008474/0.1177, allocations: 82.22 kB / 52.46 MB, free: 1.426 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.1179, allocations: 39.84 kB / 52.5 MB, free: 1.391 MB / 24.78 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P3'.emptying,'P2'.outTransition[1].arcType,'P1'.feeding,'P1'.outTransition[1].arcType,'P1'.fireOut[1],'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],$PRE.'P2'.fireIn[1],'P2'.fireIn[1],$PRE.'P2'.fireOut[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T1'.activation.fed[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009696/0.1189, allocations: 396.9 kB / 52.88 MB, free: 1.027 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/0.1191, allocations: 43.48 kB / 52.93 MB, free: 0.9844 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003683/0.1228, allocations: 0.8706 MB / 53.8 MB, free: 204 kB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.184e-05/0.1229, allocations: 8 kB / 53.81 MB, free: 196 kB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.1229, allocations: 0 / 53.81 MB, free: 196 kB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.123, allocations: 7.984 kB / 53.81 MB, free: 188 kB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02673/0.1497, allocations: 1.498 MB / 55.31 MB, free: 6.973 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.869e-06/0.1498, allocations: 3 kB / 55.31 MB, free: 6.973 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.1503, allocations: 49.06 kB / 55.36 MB, free: 6.973 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002769/0.1531, allocations: 347.1 kB / 55.7 MB, free: 6.965 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/0.1533, allocations: 22.89 kB / 55.72 MB, free: 6.965 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.1548, allocations: 0.824 MB / 56.55 MB, free: 6.449 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.1548, allocations: 3.781 kB / 56.55 MB, free: 6.449 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0046/0.1595, allocations: 1.26 MB / 57.81 MB, free: 6.238 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.1597, allocations: 110.3 kB / 57.92 MB, free: 6.145 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.1599, allocations: 23.89 kB / 57.94 MB, free: 6.145 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.1603, allocations: 52.31 kB / 57.99 MB, free: 6.145 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003539/0.1607, allocations: 121.8 kB / 58.11 MB, free: 6.145 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.621e-05/0.1608, allocations: 32.41 kB / 58.14 MB, free: 6.145 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0002625/0.1611, allocations: 197.7 kB / 58.34 MB, free: 6.066 MB / 24.78 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1611, allocations: 0 / 58.34 MB, free: 6.066 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0009253/0.162, allocations: 227.2 kB / 58.56 MB, free: 6.066 MB / 24.78 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('P1'.fireOut[1],'P1'.emptying,'T1'.activation.emptied[1],'T1'.activation.active,'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.weaklyOutputActiveVec[1],'P2'.fireIn[1],'P2'.fireOut[1],'T2'.activation.fed[1],'T2'.activation.active,'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P3'.fireIn[1],'P2'.fireOut[1],'P2'.fireIn[1],'P1'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003973/0.166, allocations: 1.968 MB / 60.53 MB, free: 4.988 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.1689, allocations: 0.9688 MB / 61.49 MB, free: 4.141 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.169, allocations: 4 kB / 61.5 MB, free: 4.137 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.1702, allocations: 0.5628 MB / 62.06 MB, free: 3.625 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.1706, allocations: 41.05 kB / 62.1 MB, free: 3.594 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02512/0.1958, allocations: 6.235 MB / 68.34 MB, free: 5.512 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.1965, allocations: 1.03 MB / 69.37 MB, free: 4.812 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.000404/0.1969, allocations: 93.55 kB / 69.46 MB, free: 4.812 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/0.1972, allocations: 204.6 kB / 69.66 MB, free: 4.812 MB / 24.78 MB Notification: Performance of SimCode: time 2.074e-06/0.1972, allocations: 0 / 69.66 MB, free: 4.812 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06735/0.2646, allocations: 12.53 MB / 82.19 MB, free: 3.121 MB / 24.78 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/0.2649, allocations: 175.9 kB / 82.36 MB, free: 2.879 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.07, allocations: 4.438 kB / 82.37 MB, free: 2.879 MB / 24.78 MB (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test11.fmu > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)