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.008767/0.008767, allocations: 1.331 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.57e-05/1.574e-05, allocations: 0 / 19.32 MB, free: 1.898 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006201/0.000658, allocations: 368.2 kB / 19.68 MB, free: 1.551 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01446/0.01513, allocations: 4.02 MB / 23.7 MB, free: 2.281 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001094/0.01528, allocations: 48.36 kB / 23.75 MB, free: 2.262 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.05216/0.06745, allocations: 10.75 MB / 34.5 MB, free: 2.562 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.433e-06/0.0675, allocations: 0 / 34.5 MB, free: 2.562 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.122e-05/0.06755, allocations: 16.06 kB / 34.52 MB, free: 2.559 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.001559/0.06912, allocations: 0.8629 MB / 35.38 MB, free: 1.977 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.06918, allocations: 9.625 kB / 35.39 MB, free: 1.977 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/0.06945, allocations: 146.6 kB / 35.54 MB, free: 1.938 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.06965, allocations: 85.23 kB / 35.62 MB, free: 1.898 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009051/0.07057, allocations: 452.6 kB / 36.06 MB, free: 1.664 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.32e-05/0.07066, allocations: 66.66 kB / 36.13 MB, free: 1.66 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/0.07085, allocations: 90.97 kB / 36.21 MB, free: 1.66 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.07328, allocations: 1.142 MB / 37.36 MB, free: 1.523 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.07335, allocations: 3.906 kB / 37.36 MB, free: 1.523 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.07348, allocations: 45.81 kB / 37.4 MB, free: 1.496 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/0.07363, allocations: 55.06 kB / 37.46 MB, free: 1.488 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.07537, allocations: 0.7724 MB / 38.23 MB, free: 0.9648 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.09344, allocations: 2.062 MB / 40.29 MB, free: 1.027 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.09507, allocations: 0.5013 MB / 40.79 MB, free: 0.9062 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001082/0.09619, allocations: 340.3 kB / 41.13 MB, free: 0.8984 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.09781, allocations: 1.031 MB / 42.16 MB, free: 5.984 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/0.09788, allocations: 42.64 kB / 42.2 MB, free: 5.945 MB / 24.79 MB Notification: Performance of pre-optimization done (n=43): time 5.711e-06/0.09791, allocations: 0 / 42.2 MB, free: 5.945 MB / 24.79 MB Notification: Performance of matching and sorting (n=43): time 0.002653/0.1006, allocations: 0.681 MB / 42.88 MB, free: 5.84 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002469/0.1009, allocations: 213.7 kB / 43.09 MB, free: 5.621 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.1016, allocations: 288.4 kB / 43.37 MB, free: 5.512 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.1017, allocations: 35.64 kB / 43.41 MB, free: 5.48 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.1022, allocations: 344.3 kB / 43.74 MB, free: 5.301 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.1025, allocations: 132 kB / 43.87 MB, free: 5.23 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.815e-05/0.1026, allocations: 13.62 kB / 43.88 MB, free: 5.23 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.1029, allocations: 347.5 kB / 44.22 MB, free: 4.918 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.1042, allocations: 279.6 kB / 44.5 MB, free: 4.914 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.1057, allocations: 435.8 kB / 44.92 MB, free: 4.738 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.1069, allocations: 354.9 kB / 45.27 MB, free: 4.672 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/0.107, allocations: 3.469 kB / 45.27 MB, free: 4.672 MB / 24.79 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003071/0.1101, allocations: 0.8795 MB / 46.15 MB, free: 4.523 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002185/0.1103, allocations: 82.38 kB / 46.23 MB, free: 4.453 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.1104, allocations: 3.312 kB / 46.24 MB, free: 4.453 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00374/0.1141, allocations: 450.8 kB / 46.68 MB, free: 4.41 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.1146, allocations: 79.7 kB / 46.75 MB, free: 4.398 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.1158, allocations: 0.7853 MB / 47.54 MB, free: 3.809 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.1164, allocations: 83.64 kB / 47.62 MB, free: 3.773 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.1165, allocations: 44.7 kB / 47.66 MB, free: 3.766 MB / 24.79 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 () * 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.0003769/0.1169, allocations: 246.5 kB / 47.9 MB, free: 3.566 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.117, allocations: 40.44 kB / 47.94 MB, free: 3.547 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.1192, allocations: 0.8261 MB / 48.77 MB, free: 2.895 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.096e-05/0.1192, allocations: 4 kB / 48.77 MB, free: 2.891 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1193, allocations: 1.094 kB / 48.78 MB, free: 2.891 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.1193, allocations: 11.52 kB / 48.79 MB, free: 2.883 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.1224, allocations: 1.443 MB / 50.23 MB, free: 1.609 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1224, allocations: 4.969 kB / 50.23 MB, free: 1.609 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.1228, allocations: 52.45 kB / 50.29 MB, free: 1.566 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.1246, allocations: 348.9 kB / 50.63 MB, free: 1.305 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-05/0.1247, allocations: 22.7 kB / 50.65 MB, free: 1.289 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.1259, allocations: 0.8161 MB / 51.46 MB, free: 0.5156 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.126, allocations: 7.938 kB / 51.47 MB, free: 0.5078 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01889/0.1449, allocations: 1.254 MB / 52.73 MB, free: 7.102 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.145, allocations: 112.9 kB / 52.84 MB, free: 7.008 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.1452, allocations: 27.31 kB / 52.86 MB, free: 7.008 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.1456, allocations: 43.42 kB / 52.91 MB, free: 7.008 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/0.146, allocations: 118.2 kB / 53.02 MB, free: 7.008 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.1461, allocations: 35.8 kB / 53.06 MB, free: 7.008 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0002582/0.1463, allocations: 191 kB / 53.24 MB, free: 6.926 MB / 24.79 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1464, allocations: 1.594 kB / 53.24 MB, free: 6.926 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0009227/0.1473, allocations: 233.4 kB / 53.47 MB, free: 6.926 MB / 24.79 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) * 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.003168/0.1505, allocations: 1.896 MB / 55.37 MB, free: 6.199 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.1524, allocations: 0.9197 MB / 56.29 MB, free: 6.066 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1524, allocations: 2.656 kB / 56.29 MB, free: 6.066 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.1534, allocations: 0.5402 MB / 56.83 MB, free: 5.934 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1539, allocations: 39.28 kB / 56.87 MB, free: 5.934 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.1571, allocations: 1.367 MB / 58.24 MB, free: 5.488 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.1577, allocations: 1.032 MB / 59.27 MB, free: 4.656 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0003759/0.1581, allocations: 96.61 kB / 59.36 MB, free: 4.605 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.1584, allocations: 209.1 kB / 59.57 MB, free: 4.422 MB / 24.79 MB Notification: Performance of SimCode: time 1.362e-06/0.1584, allocations: 0 / 59.57 MB, free: 4.422 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.2608, allocations: 12.58 MB / 72.15 MB, free: 5.941 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/0.2611, allocations: 155.6 kB / 72.3 MB, free: 5.719 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.839/3.1, allocations: 7.141 kB / 72.31 MB, free: 5.715 MB / 24.79 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)