Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1a.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.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1a,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1a",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01706/0.01707, allocations: 1.357 MB / 16.3 MB, free: 5.34 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.639e-05, allocations: 0 / 23.32 MB, free: 3.992 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006989/0.0007515, allocations: 359.5 kB / 23.67 MB, free: 3.828 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004586/0.005354, allocations: 3.779 MB / 27.45 MB, free: 184 kB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001468/0.005553, allocations: 53.3 kB / 27.51 MB, free: 132 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.01907, allocations: 2.873 MB / 30.38 MB, free: 1.891 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.134e-06/0.01912, allocations: 0 / 30.38 MB, free: 1.891 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.01914, allocations: 4 kB / 30.38 MB, free: 1.887 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005564/0.01971, allocations: 382.9 kB / 30.76 MB, free: 1.469 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.01978, allocations: 12.3 kB / 30.77 MB, free: 1.457 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.01983, allocations: 30.73 kB / 30.8 MB, free: 1.418 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.01987, allocations: 0.8594 kB / 30.8 MB, free: 1.418 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.02012, allocations: 196.8 kB / 30.99 MB, free: 1.188 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.02015, allocations: 4.328 kB / 31 MB, free: 1.184 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.02018, allocations: 4.344 kB / 31 MB, free: 1.18 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.0204, allocations: 77.64 kB / 31.08 MB, free: 1.086 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.02043, allocations: 7.953 kB / 31.08 MB, free: 1.078 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.02045, allocations: 0 / 31.08 MB, free: 1.078 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.02046, allocations: 0 / 31.08 MB, free: 1.078 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.02062, allocations: 27.92 kB / 31.11 MB, free: 1.051 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.02122, allocations: 437.2 kB / 31.54 MB, free: 0.5664 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.0214, allocations: 38.5 kB / 31.58 MB, free: 0.5195 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.02143, allocations: 0 / 31.58 MB, free: 0.5195 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.02147, allocations: 38.62 kB / 31.61 MB, free: 484 kB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.02148, allocations: 0 / 31.61 MB, free: 484 kB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0003167/0.0218, allocations: 65.58 kB / 31.68 MB, free: 412 kB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.02187, allocations: 77.11 kB / 31.75 MB, free: 316 kB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.022, allocations: 112.7 kB / 31.86 MB, free: 200 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.02203, allocations: 25.83 kB / 31.89 MB, free: 168 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.02211, allocations: 100 kB / 31.99 MB, free: 64 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.02216, allocations: 7.844 kB / 31.99 MB, free: 56 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.02217, allocations: 0 / 31.99 MB, free: 56 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.01185/0.03403, allocations: 319.6 kB / 32.31 MB, free: 5.715 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.03426, allocations: 9.375 kB / 32.31 MB, free: 5.715 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.03439, allocations: 57.22 kB / 32.37 MB, free: 5.66 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.03451, allocations: 25.52 kB / 32.39 MB, free: 5.66 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.03453, allocations: 0 / 32.39 MB, free: 5.66 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002674/0.0348, allocations: 91.16 kB / 32.48 MB, free: 5.629 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.03484, allocations: 12.31 kB / 32.5 MB, free: 5.629 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.03486, allocations: 0 / 32.5 MB, free: 5.629 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.03489, allocations: 5.875 kB / 32.5 MB, free: 5.629 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.345e-05/0.03499, allocations: 9.531 kB / 32.51 MB, free: 5.629 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.03501, allocations: 8.688 kB / 32.52 MB, free: 5.629 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.906e-05/0.03511, allocations: 20.2 kB / 32.54 MB, free: 5.629 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.03513, allocations: 2.156 kB / 32.54 MB, free: 5.629 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (P1.emptying,P1.feeding) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 9.124e-05/0.03523, allocations: 119.1 kB / 32.66 MB, free: 5.516 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.03528, allocations: 2.5 kB / 32.66 MB, free: 5.516 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.574e-05/0.03532, allocations: 10.39 kB / 32.67 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03533, allocations: 1.062 kB / 32.67 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.03535, allocations: 0 / 32.67 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.03536, allocations: 1.094 kB / 32.67 MB, free: 5.508 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.03562, allocations: 168.7 kB / 32.84 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.03564, allocations: 1.219 kB / 32.84 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.03572, allocations: 10.69 kB / 32.85 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.03573, allocations: 0 / 32.85 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.03575, allocations: 1.938 kB / 32.85 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.03576, allocations: 0 / 32.85 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.03577, allocations: 3.047 kB / 32.85 MB, free: 5.316 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.03606, allocations: 169.6 kB / 33.02 MB, free: 5.184 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.03611, allocations: 81.42 kB / 33.1 MB, free: 5.09 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.03614, allocations: 2.031 kB / 33.1 MB, free: 5.09 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.03625, allocations: 9.922 kB / 33.11 MB, free: 5.09 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.0363, allocations: 0 / 33.11 MB, free: 5.09 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.03631, allocations: 2.312 kB / 33.11 MB, free: 5.09 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.638e-05/0.03637, allocations: 102.7 kB / 33.21 MB, free: 5.016 MB / 18.57 MB Notification: Performance of sort global known variables: time 4.11e-07/0.03638, allocations: 0 / 33.21 MB, free: 5.016 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003072/0.0367, allocations: 8.5 kB / 33.22 MB, free: 5.016 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0004424/0.03715, allocations: 0.6967 MB / 33.92 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.03737, allocations: 41.89 kB / 33.96 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.03738, allocations: 0 / 33.96 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.03746, allocations: 14.73 kB / 33.97 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.03772, allocations: 10.44 kB / 33.98 MB, free: 4.359 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.03874, allocations: 1.211 MB / 35.19 MB, free: 3.227 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.0389, allocations: 0.6893 MB / 35.88 MB, free: 2.527 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.03896, allocations: 8.156 kB / 35.89 MB, free: 2.523 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.03902, allocations: 21.53 kB / 35.91 MB, free: 2.516 MB / 18.57 MB Notification: Performance of SimCode: time 9.42e-07/0.03903, allocations: 0 / 35.91 MB, free: 2.516 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.05899, allocations: 1.311 MB / 37.22 MB, free: 2.285 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.05924, allocations: 143.1 kB / 37.36 MB, free: 2.043 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.361, allocations: 0 / 37.36 MB, free: 2.043 MB / 18.57 MB (rm -f ConPNlib_ConPNlib.Examples.Test1a.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1a.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1a.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1a.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1a_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1a.fmu > ConPNlib_ConPNlib.Examples.Test1a.pipe 2>&1)