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.005799/0.005799, allocations: 1.366 MB / 16.64 MB, free: 5.168 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 2.188e-05/2.206e-05, allocations: 4 kB / 23.8 MB, free: 3.656 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008363/0.0008862, allocations: 364.2 kB / 24.16 MB, free: 3.316 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1a): time 0.0008269/0.001733, allocations: 465.1 kB / 24.61 MB, free: 2.863 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.002658, allocations: 449.3 kB / 25.05 MB, free: 2.426 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.002829, allocations: 2.219 kB / 25.05 MB, free: 2.426 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.002992, allocations: 27.8 kB / 25.08 MB, free: 2.398 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006594/0.00366, allocations: 131.7 kB / 25.21 MB, free: 2.27 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 3.96e-05/0.003715, allocations: 5.312 kB / 25.22 MB, free: 2.266 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.00384, allocations: 67.75 kB / 25.28 MB, free: 2.199 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.512e-05/0.003912, allocations: 8.141 kB / 25.29 MB, free: 2.191 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 5.319e-05/0.003971, allocations: 27.8 kB / 25.32 MB, free: 2.164 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 7.522e-05/0.004052, allocations: 19.84 kB / 25.34 MB, free: 2.145 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.004073, allocations: 4 kB / 25.34 MB, free: 2.141 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.00419, allocations: 15.98 kB / 25.36 MB, free: 2.125 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.004227, allocations: 15.92 kB / 25.37 MB, free: 2.109 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.004268, allocations: 33.64 kB / 25.4 MB, free: 2.07 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.004402, allocations: 47.81 kB / 25.45 MB, free: 2.023 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004411, allocations: 3.938 kB / 25.45 MB, free: 2.02 MB / 13.93 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004418, allocations: 4 kB / 25.46 MB, free: 2.016 MB / 13.93 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.004434, allocations: 0 / 25.46 MB, free: 2.016 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.0003477/0.004789, allocations: 334.5 kB / 25.79 MB, free: 1.641 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.004841, allocations: 8.312 kB / 25.79 MB, free: 1.633 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.004883, allocations: 31.41 kB / 25.82 MB, free: 1.594 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.004921, allocations: 4.938 kB / 25.83 MB, free: 1.59 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.005076, allocations: 185.5 kB / 26.01 MB, free: 1.371 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.005107, allocations: 4.375 kB / 26.01 MB, free: 1.367 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.005133, allocations: 384 / 26.01 MB, free: 1.367 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.005321, allocations: 85.61 kB / 26.1 MB, free: 1.266 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.00534, allocations: 6.188 kB / 26.1 MB, free: 1.262 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.005357, allocations: 1.781 kB / 26.11 MB, free: 1.262 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005368, allocations: 4 kB / 26.11 MB, free: 1.258 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.393e-05/0.005467, allocations: 27.98 kB / 26.14 MB, free: 1.23 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004511/0.005924, allocations: 0.5775 MB / 26.71 MB, free: 0.5586 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.006049, allocations: 75.78 kB / 26.79 MB, free: 468 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.006108, allocations: 34.62 kB / 26.82 MB, free: 424 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.006173, allocations: 81.09 kB / 26.9 MB, free: 324 kB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.006205, allocations: 35.81 kB / 26.94 MB, free: 280 kB / 13.93 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.006213, allocations: 4 kB / 26.94 MB, free: 276 kB / 13.93 MB Notification: Performance of matching and sorting (n=4): time 0.000298/0.006516, allocations: 85.45 kB / 27.02 MB, free: 184 kB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.006585, allocations: 132.5 kB / 27.15 MB, free: 20 kB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.006733, allocations: 121.1 kB / 27.27 MB, free: 4.535 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.006762, allocations: 30.06 kB / 27.3 MB, free: 4.5 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.006847, allocations: 92.05 kB / 27.39 MB, free: 4.406 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.006876, allocations: 15.83 kB / 27.41 MB, free: 4.391 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.006886, allocations: 0 / 27.41 MB, free: 4.391 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.007032, allocations: 318.8 kB / 27.72 MB, free: 4.07 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.416e-05/0.007094, allocations: 16 kB / 27.73 MB, free: 4.055 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.00718, allocations: 52.27 kB / 27.78 MB, free: 3.988 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.007315, allocations: 63.3 kB / 27.85 MB, free: 3.914 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007326, allocations: 0 / 27.85 MB, free: 3.914 MB / 18.57 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001889/0.00752, allocations: 97.48 kB / 27.94 MB, free: 3.812 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.007547, allocations: 4 kB / 27.95 MB, free: 3.809 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.00756, allocations: 4 kB / 27.95 MB, free: 3.805 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.00758, allocations: 3.984 kB / 27.95 MB, free: 3.801 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.724e-05/0.007672, allocations: 12 kB / 27.96 MB, free: 3.789 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.007686, allocations: 0 / 27.96 MB, free: 3.789 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.007756, allocations: 17.95 kB / 27.98 MB, free: 3.773 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.007777, allocations: 0 / 27.98 MB, free: 3.773 MB / 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.007901, allocations: 122.5 kB / 28.1 MB, free: 3.645 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.007976, allocations: 7.906 kB / 28.11 MB, free: 3.637 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.505e-05/0.008058, allocations: 15.88 kB / 28.13 MB, free: 3.613 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.008067, allocations: 0 / 28.13 MB, free: 3.613 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.00808, allocations: 4 kB / 28.13 MB, free: 3.609 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.008091, allocations: 4 kB / 28.13 MB, free: 3.605 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.008472, allocations: 169.6 kB / 28.3 MB, free: 3.391 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.008488, allocations: 4 kB / 28.3 MB, free: 3.387 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.008543, allocations: 8 kB / 28.31 MB, free: 3.379 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.008553, allocations: 0 / 28.31 MB, free: 3.379 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.008569, allocations: 3.984 kB / 28.31 MB, free: 3.375 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.008578, allocations: 4 kB / 28.32 MB, free: 3.371 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.008584, allocations: 160 / 28.32 MB, free: 3.371 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000345/0.008933, allocations: 337.9 kB / 28.65 MB, free: 3.023 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.009006, allocations: 84.56 kB / 28.73 MB, free: 2.926 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.009033, allocations: 4.094 kB / 28.73 MB, free: 2.922 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.009167, allocations: 4 kB / 28.74 MB, free: 2.918 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.009214, allocations: 15.91 kB / 28.75 MB, free: 2.902 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.009229, allocations: 8.062 kB / 28.76 MB, free: 2.895 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.463e-05/0.009288, allocations: 87.27 kB / 28.85 MB, free: 2.809 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.2e-07/0.009293, allocations: 0 / 28.85 MB, free: 2.809 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0002963/0.009594, allocations: 20 kB / 28.87 MB, free: 2.789 MB / 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006959/0.0103, allocations: 0.8638 MB / 29.73 MB, free: 1.898 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0001749/0.01049, allocations: 47.91 kB / 29.78 MB, free: 1.852 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.0105, allocations: 256 / 29.78 MB, free: 1.852 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.01057, allocations: 27.98 kB / 29.81 MB, free: 1.824 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.01098, allocations: 8 kB / 29.81 MB, free: 1.816 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.01278, allocations: 1.545 MB / 31.36 MB, free: 176 kB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008403/0.02119, allocations: 0.6827 MB / 32.04 MB, free: 6.723 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.02135, allocations: 36.73 kB / 32.08 MB, free: 6.719 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.699e-05/0.02144, allocations: 32 kB / 32.11 MB, free: 6.711 MB / 18.57 MB Notification: Performance of SimCode: time 5.31e-07/0.02144, allocations: 3.719 kB / 32.11 MB, free: 6.711 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.03614, allocations: 1.601 MB / 33.71 MB, free: 6.047 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.03636, allocations: 165.6 kB / 33.87 MB, free: 5.793 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.842, allocations: 0 / 33.87 MB, free: 5.793 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)