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.008896/0.008896, allocations: 1.33 MB / 13.89 MB, free: 1.414 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.495e-05, allocations: 0 / 19.33 MB, free: 2.008 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006318/0.0006692, allocations: 358 kB / 19.68 MB, free: 1.676 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01388/0.01456, allocations: 3.695 MB / 23.38 MB, free: 2.719 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001116/0.01472, allocations: 49.42 kB / 23.42 MB, free: 2.699 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.02646, allocations: 2.856 MB / 26.28 MB, free: 220 kB / 13.93 MB Notification: Performance of FrontEnd: time 1.853e-06/0.02651, allocations: 8.062 kB / 26.29 MB, free: 212 kB / 13.93 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.02653, allocations: 0 / 26.29 MB, free: 212 kB / 13.93 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.0004186/0.02696, allocations: 360.5 kB / 26.64 MB, free: 4.461 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 7.638e-05/0.02705, allocations: 12.31 kB / 26.65 MB, free: 4.449 MB / 18.57 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.146e-05/0.0271, allocations: 38.28 kB / 26.69 MB, free: 4.406 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.02715, allocations: 6.172 kB / 26.69 MB, free: 4.402 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.02739, allocations: 177.4 kB / 26.87 MB, free: 4.195 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.02742, allocations: 1.344 kB / 26.87 MB, free: 4.195 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.02745, allocations: 4.344 kB / 26.87 MB, free: 4.191 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.02761, allocations: 77.08 kB / 26.95 MB, free: 4.105 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.02763, allocations: 3.953 kB / 26.95 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.02765, allocations: 0 / 26.95 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.02767, allocations: 1.219 kB / 26.95 MB, free: 4.102 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/0.02774, allocations: 15.81 kB / 26.97 MB, free: 4.09 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.0283, allocations: 447.1 kB / 27.41 MB, free: 3.613 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.02838, allocations: 18.58 kB / 27.42 MB, free: 3.586 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.02842, allocations: 13.73 kB / 27.44 MB, free: 3.574 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/0.02844, allocations: 3.938 kB / 27.44 MB, free: 3.57 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.02848, allocations: 34.55 kB / 27.47 MB, free: 3.527 MB / 18.57 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.02849, allocations: 4 kB / 27.48 MB, free: 3.523 MB / 18.57 MB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.02865, allocations: 41.27 kB / 27.52 MB, free: 3.48 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.02872, allocations: 77.11 kB / 27.59 MB, free: 3.387 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.02885, allocations: 109.9 kB / 27.7 MB, free: 3.273 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.02888, allocations: 29.7 kB / 27.73 MB, free: 3.238 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.02895, allocations: 91.95 kB / 27.82 MB, free: 3.145 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.02898, allocations: 11.89 kB / 27.83 MB, free: 3.133 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.02899, allocations: 0 / 27.83 MB, free: 3.133 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.02915, allocations: 322.9 kB / 28.15 MB, free: 2.809 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/0.02919, allocations: 4 kB / 28.15 MB, free: 2.805 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.02927, allocations: 53.95 kB / 28.2 MB, free: 2.73 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.02933, allocations: 22.59 kB / 28.23 MB, free: 2.715 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.02935, allocations: 0 / 28.23 MB, free: 2.715 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001673/0.02952, allocations: 77.52 kB / 28.3 MB, free: 2.633 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.02955, allocations: 8 kB / 28.31 MB, free: 2.625 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02957, allocations: 0 / 28.31 MB, free: 2.625 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.02959, allocations: 4 kB / 28.31 MB, free: 2.621 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.02969, allocations: 16.17 kB / 28.33 MB, free: 2.605 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.02972, allocations: 7.938 kB / 28.34 MB, free: 2.598 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.192e-05/0.02982, allocations: 15.89 kB / 28.35 MB, free: 2.582 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.02984, allocations: 4 kB / 28.36 MB, free: 2.578 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 () * 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 8.162e-05/0.02993, allocations: 109.3 kB / 28.46 MB, free: 2.465 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.02997, allocations: 3.953 kB / 28.47 MB, free: 2.461 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.03002, allocations: 16.31 kB / 28.48 MB, free: 2.445 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.03003, allocations: 0 / 28.48 MB, free: 2.445 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.03004, allocations: 4 kB / 28.49 MB, free: 2.441 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03006, allocations: 4 kB / 28.49 MB, free: 2.438 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.03033, allocations: 165.7 kB / 28.65 MB, free: 2.227 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.03035, allocations: 0 / 28.65 MB, free: 2.227 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.205e-05/0.03043, allocations: 4 kB / 28.66 MB, free: 2.223 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.03045, allocations: 3.953 kB / 28.66 MB, free: 2.219 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.03047, allocations: 0 / 28.66 MB, free: 2.219 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.03048, allocations: 0 / 28.66 MB, free: 2.219 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.03049, allocations: 0 / 28.66 MB, free: 2.219 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001954/0.03069, allocations: 155.4 kB / 28.81 MB, free: 2.051 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.03078, allocations: 77.11 kB / 28.89 MB, free: 1.957 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.03081, allocations: 7.984 kB / 28.9 MB, free: 1.949 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.03093, allocations: 7.984 kB / 28.9 MB, free: 1.941 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.03097, allocations: 3.938 kB / 28.91 MB, free: 1.938 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.03098, allocations: 0 / 28.91 MB, free: 1.938 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.03111, allocations: 96.09 kB / 29 MB, free: 1.848 MB / 18.57 MB Notification: Performance of sort global known variables: time 5.01e-07/0.03113, allocations: 4.094 kB / 29 MB, free: 1.844 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002927/0.03143, allocations: 19.56 kB / 29.02 MB, free: 1.828 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 () * 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.0004556/0.03189, allocations: 0.6713 MB / 29.7 MB, free: 1.133 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.03203, allocations: 36.34 kB / 29.73 MB, free: 1.098 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.03205, allocations: 0 / 29.73 MB, free: 1.098 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.03208, allocations: 4 kB / 29.73 MB, free: 1.094 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.03233, allocations: 11.95 kB / 29.75 MB, free: 1.082 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.03278, allocations: 116.7 kB / 29.86 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.03309, allocations: 0.685 MB / 30.55 MB, free: 228 kB / 18.57 MB Notification: Performance of simCode: alias equations: time 4.513e-05/0.03315, allocations: 8.609 kB / 30.55 MB, free: 216 kB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.0332, allocations: 15.44 kB / 30.57 MB, free: 200 kB / 18.57 MB Notification: Performance of SimCode: time 6.82e-07/0.03321, allocations: 0 / 30.57 MB, free: 200 kB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.07244, allocations: 1.297 MB / 31.87 MB, free: 3.91 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.07275, allocations: 125.5 kB / 31.99 MB, free: 3.707 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.347, allocations: 0 / 31.99 MB, free: 3.707 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)