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: "" <> buildModelFMU(ConPNlib.Examples.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test10,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01631/0.01632, allocations: 1.356 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.702e-05/1.697e-05, allocations: 4 kB / 23.32 MB, free: 3.973 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006593/0.0007059, allocations: 355.1 kB / 23.67 MB, free: 3.812 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005075/0.005795, allocations: 4.162 MB / 27.83 MB, free: 4.41 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001638/0.006008, allocations: 49.3 kB / 27.88 MB, free: 4.363 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.07476/0.08079, allocations: 13.74 MB / 41.62 MB, free: 7.023 MB / 24.96 MB Notification: Performance of FrontEnd: time 2.545e-06/0.08083, allocations: 0 / 41.62 MB, free: 7.023 MB / 24.96 MB Notification: Performance of Transformations before backend: time 7.108e-05/0.08091, allocations: 21.03 kB / 41.64 MB, free: 7.023 MB / 24.96 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.002049/0.08297, allocations: 1.05 MB / 42.69 MB, free: 6.402 MB / 24.96 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.08304, allocations: 7.578 kB / 42.7 MB, free: 6.402 MB / 24.96 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004034/0.08345, allocations: 189.7 kB / 42.88 MB, free: 6.359 MB / 24.96 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.08373, allocations: 108.2 kB / 42.99 MB, free: 6.309 MB / 24.96 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.08484, allocations: 0.5242 MB / 43.51 MB, free: 6.062 MB / 24.96 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.08496, allocations: 89.83 kB / 43.6 MB, free: 6.059 MB / 24.96 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.08525, allocations: 115.3 kB / 43.71 MB, free: 6.059 MB / 24.96 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.08854, allocations: 1.533 MB / 45.24 MB, free: 5.891 MB / 24.96 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.231e-05/0.08861, allocations: 3 kB / 45.25 MB, free: 5.891 MB / 24.96 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.08877, allocations: 58.03 kB / 45.3 MB, free: 5.887 MB / 24.96 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.08894, allocations: 77.72 kB / 45.38 MB, free: 5.883 MB / 24.96 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002549/0.0915, allocations: 1.066 MB / 46.44 MB, free: 5.867 MB / 24.96 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005238/0.09675, allocations: 2.747 MB / 49.19 MB, free: 4.707 MB / 24.96 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.09849, allocations: 0.6429 MB / 49.83 MB, free: 4.176 MB / 24.96 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007451/0.09925, allocations: 0.599 MB / 50.43 MB, free: 3.473 MB / 24.96 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.09931, allocations: 38.56 kB / 50.47 MB, free: 3.426 MB / 24.96 MB Notification: Performance of pre-optimization done (n=50): time 3.787e-06/0.09932, allocations: 0 / 50.47 MB, free: 3.426 MB / 24.96 MB Notification: Performance of matching and sorting (n=50): time 0.003015/0.1023, allocations: 1.233 MB / 51.7 MB, free: 2.27 MB / 24.96 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.1026, allocations: 270.5 kB / 51.97 MB, free: 1.957 MB / 24.96 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.1032, allocations: 388.6 kB / 52.35 MB, free: 1.625 MB / 24.96 MB Notification: Performance of collectPreVariables (initialization): time 8.348e-05/0.1033, allocations: 44.75 kB / 52.39 MB, free: 1.578 MB / 24.96 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.1038, allocations: 454.8 kB / 52.84 MB, free: 1.18 MB / 24.96 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.104, allocations: 161.3 kB / 52.99 MB, free: 1.043 MB / 24.96 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.1041, allocations: 20 kB / 53.01 MB, free: 1.023 MB / 24.96 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1043, allocations: 353.8 kB / 53.36 MB, free: 0.6836 MB / 24.96 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.1054, allocations: 361.6 kB / 53.71 MB, free: 400 kB / 24.96 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01651/0.1219, allocations: 0.605 MB / 54.32 MB, free: 5.277 MB / 24.96 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.1231, allocations: 439.4 kB / 54.75 MB, free: 5.211 MB / 24.96 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.1231, allocations: 0 / 54.75 MB, free: 5.211 MB / 24.96 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002434/0.1256, allocations: 1.045 MB / 55.79 MB, free: 5.105 MB / 24.96 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1257, allocations: 89.31 kB / 55.88 MB, free: 5.043 MB / 24.96 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.1257, allocations: 11 kB / 55.89 MB, free: 5.043 MB / 24.96 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/0.1258, allocations: 17.2 kB / 55.91 MB, free: 5.043 MB / 24.96 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006541/0.1265, allocations: 131.2 kB / 56.03 MB, free: 5.043 MB / 24.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.105e-05/0.1265, allocations: 15.75 kB / 56.05 MB, free: 5.043 MB / 24.96 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006206/0.1271, allocations: 97.72 kB / 56.14 MB, free: 5.043 MB / 24.96 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.1273, allocations: 55.28 kB / 56.2 MB, free: 5.043 MB / 24.96 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 39 ($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,P1.feeding,P1.outTransition[1].arcType,P3.emptying,P4.emptying,P2.feeding,P2.outTransition[1].arcType,IA1.outTransition.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.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[2],T2.activation.arcType[1],T2.activation.fed[1],T1.activation.fed[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.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 (91): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007703/0.128, allocations: 462.1 kB / 56.65 MB, free: 4.855 MB / 24.96 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.1282, allocations: 46.97 kB / 56.7 MB, free: 4.855 MB / 24.96 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.1304, allocations: 0.8632 MB / 57.56 MB, free: 4.746 MB / 24.96 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.376e-05/0.1305, allocations: 10.25 kB / 57.57 MB, free: 4.746 MB / 24.96 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1305, allocations: 6.656 kB / 57.58 MB, free: 4.746 MB / 24.96 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1305, allocations: 0 / 57.58 MB, free: 4.746 MB / 24.96 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.1337, allocations: 1.627 MB / 59.2 MB, free: 4.367 MB / 24.96 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.1338, allocations: 3.469 kB / 59.21 MB, free: 4.367 MB / 24.96 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.1343, allocations: 77.59 kB / 59.28 MB, free: 4.363 MB / 24.96 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.1343, allocations: 2.625 kB / 59.28 MB, free: 4.363 MB / 24.96 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.237e-05/0.1344, allocations: 18.22 kB / 59.3 MB, free: 4.363 MB / 24.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.1344, allocations: 2.688 kB / 59.3 MB, free: 4.363 MB / 24.96 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1344, allocations: 0 / 59.3 MB, free: 4.363 MB / 24.96 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002813/0.1372, allocations: 1.299 MB / 60.6 MB, free: 4.148 MB / 24.96 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.1373, allocations: 117.9 kB / 60.72 MB, free: 4.055 MB / 24.96 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.1375, allocations: 35.98 kB / 60.75 MB, free: 4.051 MB / 24.96 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.1379, allocations: 54.06 kB / 60.81 MB, free: 4.016 MB / 24.96 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003417/0.1383, allocations: 135.8 kB / 60.94 MB, free: 3.938 MB / 24.96 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/0.1384, allocations: 34.58 kB / 60.97 MB, free: 3.906 MB / 24.96 MB Notification: Performance of sorting global known variables: time 0.0003182/0.1387, allocations: 262.2 kB / 61.23 MB, free: 3.688 MB / 24.96 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1387, allocations: 0 / 61.23 MB, free: 3.688 MB / 24.96 MB Notification: Performance of remove unused functions: time 0.0009456/0.1397, allocations: 272.5 kB / 61.5 MB, free: 3.465 MB / 24.96 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: 16 (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.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (P4.fireIn[1],P3.fireIn[1],P2.fireOut[1],P2.fireOut[2],P1.fireOut[1],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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/0.143, allocations: 1.994 MB / 63.49 MB, free: 1.641 MB / 24.96 MB Notification: Performance of simCode: created initialization part: time 0.002161/0.1452, allocations: 1.106 MB / 64.6 MB, free: 0.6328 MB / 24.96 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1452, allocations: 5.688 kB / 64.6 MB, free: 0.6289 MB / 24.96 MB Notification: Performance of simCode: created simulation system equations: time 0.01714/0.1624, allocations: 0.6945 MB / 65.3 MB, free: 4.941 MB / 24.96 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.163, allocations: 60.17 kB / 65.35 MB, free: 4.941 MB / 24.96 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.1734, allocations: 9.363 MB / 74.72 MB, free: 7.117 MB / 33.32 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008698/0.1743, allocations: 1.128 MB / 75.84 MB, free: 6.414 MB / 33.32 MB Notification: Performance of simCode: alias equations: time 0.0008129/0.1751, allocations: 197.2 kB / 76.04 MB, free: 6.395 MB / 33.32 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/0.1757, allocations: 314.6 kB / 76.34 MB, free: 6.395 MB / 33.32 MB Notification: Performance of SimCode: time 8.82e-07/0.1757, allocations: 3.062 kB / 76.35 MB, free: 6.395 MB / 33.32 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/0.2397, allocations: 13.33 MB / 89.68 MB, free: 11.23 MB / 33.32 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.2399, allocations: 145.4 kB / 89.82 MB, free: 10.99 MB / 33.32 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.046, allocations: 0 / 89.82 MB, free: 10.99 MB / 33.32 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test10_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test10.fmu > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)