Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test12,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008872/0.008872, allocations: 1.329 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.543e-05/1.561e-05, allocations: 0 / 19.33 MB, free: 2.012 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000619/0.0006637, allocations: 358.1 kB / 19.68 MB, free: 1.676 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01505/0.01573, allocations: 4.03 MB / 23.71 MB, free: 2.43 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000139/0.01592, allocations: 48.86 kB / 23.76 MB, free: 2.41 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.0605/0.07644, allocations: 12.74 MB / 36.5 MB, free: 2.648 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.513e-06/0.07648, allocations: 0 / 36.5 MB, free: 2.648 MB / 18.57 MB Notification: Performance of Transformations before backend: time 4.022e-05/0.07653, allocations: 18.62 kB / 36.52 MB, free: 2.645 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.001648/0.07819, allocations: 0.9946 MB / 37.51 MB, free: 1.934 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.07824, allocations: 12.31 kB / 37.53 MB, free: 1.922 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/0.07851, allocations: 171.2 kB / 37.69 MB, free: 1.836 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.07874, allocations: 103.3 kB / 37.79 MB, free: 1.738 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.07982, allocations: 0.5061 MB / 38.3 MB, free: 1.344 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/0.07992, allocations: 79.73 kB / 38.38 MB, free: 1.297 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.08013, allocations: 115.7 kB / 38.49 MB, free: 1.227 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.08302, allocations: 1.4 MB / 39.89 MB, free: 84 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.08307, allocations: 7.953 kB / 39.9 MB, free: 76 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.08322, allocations: 43.05 kB / 39.94 MB, free: 36 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01351/0.09675, allocations: 65.27 kB / 40 MB, free: 2.125 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00271/0.09949, allocations: 0.9576 MB / 40.96 MB, free: 2.113 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004812/0.1043, allocations: 2.507 MB / 43.47 MB, free: 1.43 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1055, allocations: 0.6783 MB / 44.15 MB, free: 1.215 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007673/0.1063, allocations: 425.6 kB / 44.56 MB, free: 1.074 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007947/0.1071, allocations: 0.8581 MB / 45.42 MB, free: 132 kB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.1072, allocations: 43.44 kB / 45.46 MB, free: 6.289 MB / 24.78 MB Notification: Performance of pre-optimization done (n=52): time 3.166e-06/0.1072, allocations: 0 / 45.46 MB, free: 6.289 MB / 24.78 MB Notification: Performance of matching and sorting (n=52): time 0.002135/0.1093, allocations: 0.8709 MB / 46.33 MB, free: 5.797 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000179/0.1095, allocations: 250.1 kB / 46.58 MB, free: 5.512 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.1101, allocations: 330.7 kB / 46.9 MB, free: 5.219 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 8.963e-05/0.1102, allocations: 44.84 kB / 46.94 MB, free: 5.172 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.1105, allocations: 392.5 kB / 47.33 MB, free: 4.832 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.1108, allocations: 168.4 kB / 47.49 MB, free: 4.691 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.1109, allocations: 20 kB / 47.51 MB, free: 4.672 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1111, allocations: 347.6 kB / 47.85 MB, free: 4.336 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000841/0.1119, allocations: 333.4 kB / 48.18 MB, free: 4.051 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.113, allocations: 0.5114 MB / 48.69 MB, free: 3.516 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/0.1139, allocations: 442 kB / 49.12 MB, free: 3.133 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.1139, allocations: 0 / 49.12 MB, free: 3.133 MB / 24.78 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002742/0.1167, allocations: 1.098 MB / 50.22 MB, free: 2.145 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.1168, allocations: 120.4 kB / 50.34 MB, free: 2.02 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.1169, allocations: 4 kB / 50.34 MB, free: 2.016 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003281/0.1202, allocations: 453.7 kB / 50.78 MB, free: 1.684 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004889/0.1207, allocations: 86.47 kB / 50.87 MB, free: 1.609 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1219, allocations: 0.8574 MB / 51.72 MB, free: 0.7969 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.1225, allocations: 94.09 kB / 51.82 MB, free: 0.7148 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.1227, allocations: 51.83 kB / 51.87 MB, free: 0.6719 MB / 24.78 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P2.emptying,P3.emptying,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T2.outPlaces[1].enabledByInPlaces,T3.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 3 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004278/0.1231, allocations: 289.7 kB / 52.15 MB, free: 388 kB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1233, allocations: 47.53 kB / 52.2 MB, free: 340 kB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01741/0.1407, allocations: 1.086 MB / 53.28 MB, free: 7.152 MB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.61e-05/0.1408, allocations: 6.031 kB / 53.29 MB, free: 7.152 MB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1408, allocations: 8.703 kB / 53.3 MB, free: 7.152 MB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.1408, allocations: 3.094 kB / 53.3 MB, free: 7.152 MB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005648/0.1465, allocations: 1.777 MB / 55.08 MB, free: 6.746 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/0.1466, allocations: 3.781 kB / 55.08 MB, free: 6.746 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.1471, allocations: 55.81 kB / 55.14 MB, free: 6.746 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/0.1507, allocations: 425.1 kB / 55.55 MB, free: 6.734 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002268/0.151, allocations: 26.44 kB / 55.58 MB, free: 6.734 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.1528, allocations: 0.8928 MB / 56.47 MB, free: 6.219 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1529, allocations: 0 / 56.47 MB, free: 6.219 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003882/0.1568, allocations: 1.499 MB / 57.97 MB, free: 5.934 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.1569, allocations: 113.5 kB / 58.08 MB, free: 5.84 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.1571, allocations: 32.81 kB / 58.11 MB, free: 5.824 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.1575, allocations: 51.67 kB / 58.16 MB, free: 5.785 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/0.158, allocations: 149.5 kB / 58.31 MB, free: 5.684 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.1581, allocations: 34.77 kB / 58.34 MB, free: 5.656 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0002869/0.1584, allocations: 222.7 kB / 58.56 MB, free: 5.461 MB / 24.78 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1584, allocations: 0 / 58.56 MB, free: 5.461 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.001/0.1594, allocations: 267.1 kB / 58.82 MB, free: 5.258 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003664/0.1631, allocations: 2.199 MB / 61.02 MB, free: 3.258 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.1652, allocations: 1.124 MB / 62.14 MB, free: 2.215 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1652, allocations: 0 / 62.14 MB, free: 2.215 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.1663, allocations: 0.6702 MB / 62.81 MB, free: 1.574 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.1668, allocations: 63 kB / 62.87 MB, free: 1.523 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.1865, allocations: 1.67 MB / 64.54 MB, free: 6.09 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.1873, allocations: 1.108 MB / 65.65 MB, free: 5.391 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.000456/0.1878, allocations: 122.1 kB / 65.77 MB, free: 5.387 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.1882, allocations: 255.7 kB / 66.02 MB, free: 5.387 MB / 24.78 MB Notification: Performance of SimCode: time 1.212e-06/0.1882, allocations: 0 / 66.02 MB, free: 5.387 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.069/0.2572, allocations: 14.8 MB / 80.82 MB, free: 1.922 MB / 24.78 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/0.2574, allocations: 143 kB / 80.96 MB, free: 1.703 MB / 24.78 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/3.254, allocations: 4 kB / 80.96 MB, free: 1.699 MB / 24.78 MB (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test12_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test12.fmu > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)