Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test5,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.017/0.017, allocations: 1.358 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.059e-05, allocations: 0 / 23.32 MB, free: 3.977 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000805/0.0008746, allocations: 358.4 kB / 23.67 MB, free: 3.812 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.005568/0.006478, allocations: 4.105 MB / 27.77 MB, free: 4.473 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001541/0.006686, allocations: 49.3 kB / 27.82 MB, free: 4.426 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04031/0.04701, allocations: 6.981 MB / 34.8 MB, free: 4.859 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.904e-06/0.04707, allocations: 1.375 kB / 34.8 MB, free: 4.859 MB / 18.57 MB Notification: Performance of Transformations before backend: time 2.602e-05/0.04711, allocations: 6.812 kB / 34.81 MB, free: 4.859 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001026/0.04814, allocations: 0.6314 MB / 35.44 MB, free: 4.371 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.0482, allocations: 8.484 kB / 35.45 MB, free: 4.371 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001319/0.04834, allocations: 94.03 kB / 35.54 MB, free: 4.332 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.04846, allocations: 44.7 kB / 35.58 MB, free: 4.312 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005205/0.04899, allocations: 318.1 kB / 35.9 MB, free: 4.09 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.414e-05/0.04905, allocations: 37.91 kB / 35.93 MB, free: 4.09 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.04915, allocations: 45.98 kB / 35.98 MB, free: 4.09 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.05049, allocations: 0.623 MB / 36.6 MB, free: 4.012 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.05053, allocations: 5.219 kB / 36.61 MB, free: 4.008 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.05061, allocations: 19.17 kB / 36.62 MB, free: 4.004 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.396e-05/0.05069, allocations: 31.05 kB / 36.65 MB, free: 4.004 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.0518, allocations: 442.4 kB / 37.09 MB, free: 3.879 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.05396, allocations: 1.138 MB / 38.22 MB, free: 2.938 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.05458, allocations: 240.6 kB / 38.46 MB, free: 2.699 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.05515, allocations: 0.5936 MB / 39.05 MB, free: 1.977 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.05519, allocations: 30.75 kB / 39.08 MB, free: 1.938 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 4.148e-06/0.0552, allocations: 0 / 39.08 MB, free: 1.938 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.001305/0.05652, allocations: 0.5659 MB / 39.65 MB, free: 1.348 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.0566, allocations: 144.7 kB / 39.79 MB, free: 1.176 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.05685, allocations: 200.6 kB / 39.99 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.0569, allocations: 30.27 kB / 40.02 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.05706, allocations: 220.5 kB / 40.23 MB, free: 0.7227 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.966e-05/0.05715, allocations: 76.53 kB / 40.31 MB, free: 0.6523 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.05719, allocations: 8 kB / 40.31 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.05727, allocations: 326.8 kB / 40.63 MB, free: 324 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004037/0.05768, allocations: 160.5 kB / 40.79 MB, free: 160 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01436/0.07206, allocations: 256.6 kB / 41.04 MB, free: 3.477 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.07262, allocations: 195.6 kB / 41.23 MB, free: 3.438 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.07264, allocations: 1.531 kB / 41.23 MB, free: 3.438 MB / 18.57 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001175/0.07382, allocations: 465.7 kB / 41.69 MB, free: 3.375 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.07391, allocations: 48.86 kB / 41.73 MB, free: 3.344 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.07393, allocations: 3.688 kB / 41.74 MB, free: 3.344 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.07397, allocations: 5.844 kB / 41.74 MB, free: 3.344 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.07429, allocations: 56.58 kB / 41.8 MB, free: 3.344 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.07431, allocations: 5.094 kB / 41.8 MB, free: 3.344 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002907/0.07461, allocations: 50.52 kB / 41.85 MB, free: 3.344 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.07468, allocations: 20.92 kB / 41.87 MB, free: 3.344 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.feeding,P1.outTransition[1].arcType,P2.emptying,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 2 * Algorithm blocks: 1 * 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.0003961/0.07509, allocations: 261.1 kB / 42.13 MB, free: 3.199 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.07517, allocations: 20.56 kB / 42.15 MB, free: 3.199 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.07628, allocations: 424.5 kB / 42.56 MB, free: 3.133 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/0.07633, allocations: 2.031 kB / 42.57 MB, free: 3.133 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.07634, allocations: 0 / 42.57 MB, free: 3.133 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.07636, allocations: 7.078 kB / 42.57 MB, free: 3.133 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.07792, allocations: 0.8444 MB / 43.42 MB, free: 2.805 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.07794, allocations: 0 / 43.42 MB, free: 2.805 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.07823, allocations: 42.34 kB / 43.46 MB, free: 2.801 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.07825, allocations: 0 / 43.46 MB, free: 2.801 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.07829, allocations: 10.97 kB / 43.47 MB, free: 2.801 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.07831, allocations: 2.75 kB / 43.47 MB, free: 2.801 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.07832, allocations: 0 / 43.47 MB, free: 2.801 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.07975, allocations: 0.6619 MB / 44.13 MB, free: 2.621 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.38e-05/0.07983, allocations: 95.67 kB / 44.23 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.07991, allocations: 11.88 kB / 44.24 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.08017, allocations: 29.12 kB / 44.27 MB, free: 2.527 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.08039, allocations: 62.55 kB / 44.33 MB, free: 2.523 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.08045, allocations: 19.14 kB / 44.35 MB, free: 2.523 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001464/0.08061, allocations: 144.9 kB / 44.49 MB, free: 2.445 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.51e-07/0.08062, allocations: 2.688 kB / 44.49 MB, free: 2.445 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007115/0.08134, allocations: 164 kB / 44.65 MB, free: 2.445 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * Algorithm blocks: 1 * 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.002019/0.08337, allocations: 1.304 MB / 45.95 MB, free: 1.594 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.0845, allocations: 495.5 kB / 46.44 MB, free: 1.23 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.08452, allocations: 0 / 46.44 MB, free: 1.23 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.08503, allocations: 271 kB / 46.7 MB, free: 0.9844 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.08539, allocations: 26.98 kB / 46.73 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.0907, allocations: 3.659 MB / 50.39 MB, free: 3.672 MB / 24.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.09137, allocations: 0.8576 MB / 51.25 MB, free: 2.855 MB / 24.8 MB Notification: Performance of simCode: alias equations: time 0.0003823/0.09177, allocations: 80.3 kB / 51.32 MB, free: 2.809 MB / 24.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.09206, allocations: 121.4 kB / 51.44 MB, free: 2.707 MB / 24.8 MB Notification: Performance of SimCode: time 1.232e-06/0.09208, allocations: 0 / 51.44 MB, free: 2.707 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/0.1427, allocations: 6.698 MB / 58.14 MB, free: 7.734 MB / 24.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.1431, allocations: 149 kB / 58.29 MB, free: 7.488 MB / 24.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.653/2.796, allocations: 0 / 58.29 MB, free: 7.488 MB / 24.8 MB (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test5_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test5.fmu > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)