Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test9,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01643/0.01643, allocations: 1.358 MB / 16.3 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.593e-05, allocations: 0 / 23.32 MB, free: 3.992 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006735/0.0007261, allocations: 363.3 kB / 23.67 MB, free: 3.828 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005272/0.006016, allocations: 4.116 MB / 27.79 MB, free: 4.496 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00016/0.006225, allocations: 47.98 kB / 27.83 MB, free: 4.449 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.05222/0.05846, allocations: 10.83 MB / 38.67 MB, free: 2.816 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.804e-06/0.05851, allocations: 0 / 38.67 MB, free: 2.816 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.586e-05/0.05855, allocations: 16.5 kB / 38.68 MB, free: 2.801 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.001541/0.0601, allocations: 0.8822 MB / 39.57 MB, free: 1.855 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.06016, allocations: 16.28 kB / 39.58 MB, free: 1.84 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.06039, allocations: 143.5 kB / 39.72 MB, free: 1.691 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.06059, allocations: 80.02 kB / 39.8 MB, free: 1.613 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.06147, allocations: 457.9 kB / 40.25 MB, free: 1.125 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.616e-05/0.06155, allocations: 70.31 kB / 40.32 MB, free: 1.055 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.06173, allocations: 88.33 kB / 40.4 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.07774, allocations: 1.183 MB / 41.59 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.07781, allocations: 0 / 41.59 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.07795, allocations: 37.39 kB / 41.62 MB, free: 1.785 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/0.07811, allocations: 58.92 kB / 41.68 MB, free: 1.781 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.08024, allocations: 0.8264 MB / 42.51 MB, free: 1.777 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00418/0.08443, allocations: 2.042 MB / 44.55 MB, free: 1.215 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.08582, allocations: 0.6324 MB / 45.18 MB, free: 0.9961 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.08696, allocations: 1.035 MB / 46.22 MB, free: 6.082 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.08704, allocations: 41.45 kB / 46.26 MB, free: 6.039 MB / 24.79 MB Notification: Performance of pre-optimization done (n=42): time 4.428e-06/0.08705, allocations: 0 / 46.26 MB, free: 6.039 MB / 24.79 MB Notification: Performance of matching and sorting (n=42): time 0.00493/0.09199, allocations: 1.406 MB / 47.66 MB, free: 5.445 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.09219, allocations: 210.3 kB / 47.87 MB, free: 5.215 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.09263, allocations: 293.5 kB / 48.15 MB, free: 5.051 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.09272, allocations: 37.23 kB / 48.19 MB, free: 5.016 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.093, allocations: 340.8 kB / 48.52 MB, free: 4.773 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.09319, allocations: 143.1 kB / 48.66 MB, free: 4.672 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.09327, allocations: 19 kB / 48.68 MB, free: 4.664 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.09346, allocations: 342.2 kB / 49.02 MB, free: 4.34 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.09428, allocations: 296.3 kB / 49.3 MB, free: 4.254 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009486/0.09524, allocations: 460.3 kB / 49.75 MB, free: 3.953 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008959/0.09615, allocations: 359.6 kB / 50.11 MB, free: 3.629 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.09618, allocations: 4 kB / 50.11 MB, free: 3.625 MB / 24.79 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002505/0.09869, allocations: 0.9218 MB / 51.03 MB, free: 2.805 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.09883, allocations: 86.3 kB / 51.12 MB, free: 2.715 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.09886, allocations: 6.953 kB / 51.12 MB, free: 2.711 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003771/0.1026, allocations: 448.2 kB / 51.56 MB, free: 2.383 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.1031, allocations: 76.83 kB / 51.64 MB, free: 2.316 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001156/0.1043, allocations: 0.7889 MB / 52.42 MB, free: 1.566 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005716/0.1049, allocations: 84.28 kB / 52.51 MB, free: 1.496 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.105, allocations: 45.53 kB / 52.55 MB, free: 1.457 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[1].arcType,P2.outTransition[1].arcType,P3.emptying,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],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.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.0007922/0.1058, allocations: 382.6 kB / 52.92 MB, free: 1.102 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.106, allocations: 43.58 kB / 52.97 MB, free: 1.059 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.1085, allocations: 0.8646 MB / 53.83 MB, free: 304 kB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-05/0.1085, allocations: 8.75 kB / 53.84 MB, free: 296 kB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1086, allocations: 0 / 53.84 MB, free: 296 kB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.1086, allocations: 3.984 kB / 53.84 MB, free: 292 kB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/0.1331, allocations: 1.491 MB / 55.33 MB, free: 7.074 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1332, allocations: 0 / 55.33 MB, free: 7.074 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003395/0.1335, allocations: 39.84 kB / 55.37 MB, free: 7.074 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.1353, allocations: 356.3 kB / 55.72 MB, free: 7.066 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.704e-05/0.1354, allocations: 22.73 kB / 55.74 MB, free: 7.066 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000959/0.1364, allocations: 0.8132 MB / 56.56 MB, free: 6.551 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1364, allocations: 3.781 kB / 56.56 MB, free: 6.551 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002814/0.1392, allocations: 1.247 MB / 57.81 MB, free: 6.34 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 8.684e-05/0.1394, allocations: 109.5 kB / 57.91 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.1395, allocations: 23.7 kB / 57.94 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.1399, allocations: 61.25 kB / 58 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/0.1402, allocations: 114.7 kB / 58.11 MB, free: 6.246 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.894e-05/0.1403, allocations: 36.8 kB / 58.15 MB, free: 6.246 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0002457/0.1406, allocations: 188.1 kB / 58.33 MB, free: 6.168 MB / 24.79 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1406, allocations: 2.719 kB / 58.33 MB, free: 6.168 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0008977/0.1415, allocations: 228.9 kB / 58.56 MB, free: 6.168 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 26 * 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.003406/0.1449, allocations: 1.954 MB / 60.51 MB, free: 5.16 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.1471, allocations: 0.9628 MB / 61.47 MB, free: 4.32 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1471, allocations: 0 / 61.47 MB, free: 4.32 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.1481, allocations: 0.5538 MB / 62.03 MB, free: 3.816 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1486, allocations: 45.95 kB / 62.07 MB, free: 3.781 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02331/0.1719, allocations: 6.365 MB / 68.44 MB, free: 5.449 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.1725, allocations: 1.028 MB / 69.46 MB, free: 4.746 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0004023/0.1729, allocations: 94.39 kB / 69.56 MB, free: 4.738 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.1733, allocations: 212.5 kB / 69.76 MB, free: 4.734 MB / 24.79 MB Notification: Performance of SimCode: time 9.11e-07/0.1733, allocations: 0 / 69.76 MB, free: 4.734 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07487/0.2482, allocations: 12.43 MB / 82.19 MB, free: 3.012 MB / 24.79 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.2485, allocations: 170.5 kB / 82.36 MB, free: 2.77 MB / 24.79 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.08, allocations: 0 / 82.36 MB, free: 2.77 MB / 24.79 MB (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test9_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test9.fmu > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)