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.01636/0.01636, allocations: 1.355 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.469e-05, allocations: 0 / 23.32 MB, free: 3.703 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006387/0.0006752, allocations: 352.5 kB / 23.66 MB, free: 3.527 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0007347/0.001424, allocations: 449.4 kB / 24.1 MB, free: 3.297 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.002247, allocations: 409.6 kB / 24.5 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.002336, allocations: 0.5 kB / 24.5 MB, free: 2.914 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.00247, allocations: 27.84 kB / 24.53 MB, free: 2.887 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.003009, allocations: 143.4 kB / 24.67 MB, free: 2.75 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 4.736e-05/0.003072, allocations: 15.97 kB / 24.68 MB, free: 2.734 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.003171, allocations: 47.88 kB / 24.73 MB, free: 2.688 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.003236, allocations: 5.656 kB / 24.73 MB, free: 2.68 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.003285, allocations: 23.86 kB / 24.76 MB, free: 2.656 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.003348, allocations: 24.56 kB / 24.78 MB, free: 2.633 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.003368, allocations: 0 / 24.78 MB, free: 2.633 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 7.115e-05/0.003449, allocations: 19.98 kB / 24.8 MB, free: 2.613 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.003474, allocations: 3.984 kB / 24.81 MB, free: 2.609 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.003503, allocations: 33.64 kB / 24.84 MB, free: 2.57 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 8.445e-05/0.003595, allocations: 30.08 kB / 24.87 MB, free: 2.543 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003608, allocations: 0 / 24.87 MB, free: 2.543 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.485e-06/0.003619, allocations: 0 / 24.87 MB, free: 2.543 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.00363, allocations: 3.938 kB / 24.87 MB, free: 2.539 MB / 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.0003062/0.003945, allocations: 334.2 kB / 25.2 MB, free: 2.164 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.003999, allocations: 8.297 kB / 25.21 MB, free: 2.156 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.004044, allocations: 36.23 kB / 25.24 MB, free: 2.113 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.004081, allocations: 4.859 kB / 25.25 MB, free: 2.109 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.004233, allocations: 184.4 kB / 25.43 MB, free: 1.891 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.004267, allocations: 5.562 kB / 25.43 MB, free: 1.887 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.004296, allocations: 352 / 25.43 MB, free: 1.887 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.004497, allocations: 81.69 kB / 25.51 MB, free: 1.789 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.00452, allocations: 352 / 25.51 MB, free: 1.789 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.004544, allocations: 9.312 kB / 25.52 MB, free: 1.781 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004558, allocations: 4 kB / 25.53 MB, free: 1.777 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.004702, allocations: 31.91 kB / 25.56 MB, free: 1.746 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.00517, allocations: 0.5699 MB / 26.13 MB, free: 1.082 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.005345, allocations: 79.77 kB / 26.2 MB, free: 0.9766 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 6.077e-05/0.00542, allocations: 81.17 kB / 26.28 MB, free: 0.8789 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.005454, allocations: 45.02 kB / 26.33 MB, free: 0.8281 MB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.005464, allocations: 0 / 26.33 MB, free: 0.8281 MB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.0003668/0.00584, allocations: 89.44 kB / 26.41 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.00591, allocations: 136.3 kB / 26.55 MB, free: 0.5742 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.006001, allocations: 114.2 kB / 26.66 MB, free: 464 kB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.006025, allocations: 25.7 kB / 26.68 MB, free: 432 kB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.006076, allocations: 92.05 kB / 26.77 MB, free: 336 kB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.006105, allocations: 15.83 kB / 26.79 MB, free: 320 kB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.00612, allocations: 0 / 26.79 MB, free: 320 kB / 13.93 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.006223, allocations: 318.8 kB / 27.1 MB, free: 4.664 MB / 18.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.006313, allocations: 19.97 kB / 27.12 MB, free: 4.645 MB / 18.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.00644, allocations: 56.28 kB / 27.18 MB, free: 4.574 MB / 18.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.83e-05/0.006552, allocations: 23.92 kB / 27.2 MB, free: 4.551 MB / 18.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.006568, allocations: 0 / 27.2 MB, free: 4.551 MB / 18.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002758/0.006852, allocations: 89.44 kB / 27.29 MB, free: 4.461 MB / 18.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.006888, allocations: 11.95 kB / 27.3 MB, free: 4.449 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.006903, allocations: 0 / 27.3 MB, free: 4.449 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.006924, allocations: 0 / 27.3 MB, free: 4.449 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.007056, allocations: 15.98 kB / 27.31 MB, free: 4.434 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.007078, allocations: 3.938 kB / 27.32 MB, free: 4.43 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.007182, allocations: 15.98 kB / 27.33 MB, free: 4.414 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.007214, allocations: 4 kB / 27.34 MB, free: 4.41 MB / 18.6 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (P1.feeding,P1.emptying) * 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 0.0001057/0.007335, allocations: 118.5 kB / 27.45 MB, free: 4.285 MB / 18.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.007418, allocations: 3.906 kB / 27.46 MB, free: 4.281 MB / 18.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.007501, allocations: 15.83 kB / 27.47 MB, free: 4.258 MB / 18.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.007516, allocations: 0 / 27.47 MB, free: 4.258 MB / 18.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.007532, allocations: 4 kB / 27.48 MB, free: 4.254 MB / 18.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007544, allocations: 0 / 27.48 MB, free: 4.254 MB / 18.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.007978, allocations: 165.7 kB / 27.64 MB, free: 4.043 MB / 18.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.007997, allocations: 4 kB / 27.64 MB, free: 4.039 MB / 18.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.008083, allocations: 8 kB / 27.65 MB, free: 4.031 MB / 18.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008099, allocations: 0 / 27.65 MB, free: 4.031 MB / 18.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.008122, allocations: 4 kB / 27.65 MB, free: 4.027 MB / 18.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.008138, allocations: 10.94 kB / 27.66 MB, free: 4.02 MB / 18.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.008151, allocations: 3.938 kB / 27.67 MB, free: 4.016 MB / 18.6 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.008583, allocations: 353.5 kB / 28.01 MB, free: 3.641 MB / 18.6 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.008659, allocations: 92.98 kB / 28.1 MB, free: 3.531 MB / 18.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.00869, allocations: 0 / 28.1 MB, free: 3.531 MB / 18.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.008895, allocations: 4 kB / 28.11 MB, free: 3.527 MB / 18.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.008948, allocations: 8.047 kB / 28.12 MB, free: 3.52 MB / 18.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.00897, allocations: 8 kB / 28.12 MB, free: 3.512 MB / 18.6 MB Notification: Performance of sorting global known variables: time 8.493e-05/0.009064, allocations: 87.27 kB / 28.21 MB, free: 3.426 MB / 18.6 MB Notification: Performance of sort global known variables: time 4.5e-07/0.009075, allocations: 3.938 kB / 28.21 MB, free: 3.422 MB / 18.6 MB Notification: Performance of remove unused functions: time 0.0004361/0.009519, allocations: 16 kB / 28.23 MB, free: 3.406 MB / 18.6 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (P1.t_) * Number of discrete variables: 2 (P1.feeding,P1.emptying) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0007899/0.01032, allocations: 1.028 MB / 29.26 MB, free: 2.344 MB / 18.6 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.01057, allocations: 51.97 kB / 29.31 MB, free: 2.293 MB / 18.6 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.01059, allocations: 0 / 29.31 MB, free: 2.293 MB / 18.6 MB Notification: Performance of simCode: created simulation system equations: time 9.279e-05/0.01069, allocations: 23.92 kB / 29.33 MB, free: 2.27 MB / 18.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.01104, allocations: 8 kB / 29.34 MB, free: 2.262 MB / 18.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.01237, allocations: 0.9241 MB / 30.26 MB, free: 1.273 MB / 18.6 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.01272, allocations: 0.6889 MB / 30.95 MB, free: 0.5586 MB / 18.6 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.01287, allocations: 45.27 kB / 31 MB, free: 0.5078 MB / 18.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.765e-05/0.01296, allocations: 23.47 kB / 31.02 MB, free: 496 kB / 18.6 MB Notification: Performance of SimCode: time 8.41e-07/0.01298, allocations: 4 kB / 31.02 MB, free: 492 kB / 18.6 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03699/0.04997, allocations: 1.511 MB / 32.53 MB, free: 6.844 MB / 18.6 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.05029, allocations: 149.4 kB / 32.68 MB, free: 6.602 MB / 18.6 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.292, allocations: 0 / 32.68 MB, free: 6.602 MB / 18.6 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)