Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test1b.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.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ConPNlib.Examples.Test1b,fileNamePrefix="ConPNlib_ConPNlib_Examples_Test1b",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.006939/0.006939, allocations: 1.361 MB / 16.64 MB, free: 5.176 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.854e-05, allocations: 0 / 23.8 MB, free: 3.656 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008012/0.000851, allocations: 369.3 kB / 24.16 MB, free: 3.312 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test1b): time 0.0007726/0.001634, allocations: 409.2 kB / 24.56 MB, free: 2.918 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.00221, allocations: 180.9 kB / 24.74 MB, free: 2.742 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.002347, allocations: 4.719 kB / 24.74 MB, free: 2.738 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001866/0.002543, allocations: 23.84 kB / 24.76 MB, free: 2.715 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.002938, allocations: 40.61 kB / 24.8 MB, free: 2.676 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.86e-05/0.003037, allocations: 23.97 kB / 24.83 MB, free: 2.652 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.003225, allocations: 100.8 kB / 24.93 MB, free: 2.555 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 6.849e-05/0.003303, allocations: 12.86 kB / 24.94 MB, free: 2.543 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.949e-05/0.003402, allocations: 47.77 kB / 24.98 MB, free: 2.496 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 9.29e-05/0.003505, allocations: 31.78 kB / 25.02 MB, free: 2.465 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.00353, allocations: 3.375 kB / 25.02 MB, free: 2.465 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.00364, allocations: 23.98 kB / 25.04 MB, free: 2.441 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 3.405e-05/0.003683, allocations: 7.984 kB / 25.05 MB, free: 2.434 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.003737, allocations: 41.58 kB / 25.09 MB, free: 2.387 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.003884, allocations: 39.88 kB / 25.13 MB, free: 2.348 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003896, allocations: 0 / 25.13 MB, free: 2.348 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.513e-06/0.003905, allocations: 4 kB / 25.13 MB, free: 2.344 MB / 13.93 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003917, allocations: 3.938 kB / 25.14 MB, free: 2.34 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.0003479/0.004272, allocations: 356.9 kB / 25.49 MB, free: 1.938 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.004331, allocations: 12.31 kB / 25.5 MB, free: 1.926 MB / 13.93 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.004376, allocations: 38.73 kB / 25.54 MB, free: 1.879 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.004414, allocations: 8.844 kB / 25.54 MB, free: 1.871 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.004567, allocations: 168.7 kB / 25.71 MB, free: 1.668 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.004597, allocations: 384 / 25.71 MB, free: 1.668 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.004619, allocations: 8.375 kB / 25.72 MB, free: 1.66 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.00475, allocations: 43.5 kB / 25.76 MB, free: 1.613 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004769, allocations: 3.938 kB / 25.76 MB, free: 1.609 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.004788, allocations: 3.938 kB / 25.77 MB, free: 1.605 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.004802, allocations: 8 kB / 25.78 MB, free: 1.598 MB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.004878, allocations: 27.92 kB / 25.8 MB, free: 1.57 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.005364, allocations: 370.5 kB / 26.16 MB, free: 1.141 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.005436, allocations: 24.83 kB / 26.19 MB, free: 1.109 MB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.005464, allocations: 8.922 kB / 26.2 MB, free: 1.098 MB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-06/0.005479, allocations: 0 / 26.2 MB, free: 1.098 MB / 13.93 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.005505, allocations: 34.56 kB / 26.23 MB, free: 1.055 MB / 13.93 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.005513, allocations: 0 / 26.23 MB, free: 1.055 MB / 13.93 MB Notification: Performance of matching and sorting (n=2): time 0.0001945/0.005713, allocations: 75.33 kB / 26.3 MB, free: 0.9688 MB / 13.93 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.005762, allocations: 82.89 kB / 26.39 MB, free: 0.8711 MB / 13.93 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.911e-05/0.005849, allocations: 111.1 kB / 26.49 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.005869, allocations: 25.7 kB / 26.52 MB, free: 0.7227 MB / 13.93 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.005917, allocations: 95.95 kB / 26.61 MB, free: 0.625 MB / 13.93 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.005933, allocations: 8.016 kB / 26.62 MB, free: 0.6172 MB / 13.93 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.005945, allocations: 4 kB / 26.62 MB, free: 0.6133 MB / 13.93 MB Notification: Performance of setup shared object (initialization): time 5.587e-05/0.006008, allocations: 318.8 kB / 26.94 MB, free: 300 kB / 13.93 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.00604, allocations: 4 kB / 26.94 MB, free: 296 kB / 13.93 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.00608, allocations: 25.7 kB / 26.97 MB, free: 264 kB / 13.93 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.817e-05/0.006157, allocations: 81.06 kB / 27.04 MB, free: 164 kB / 13.93 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.006168, allocations: 0 / 27.04 MB, free: 164 kB / 13.93 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001201/0.006296, allocations: 95.44 kB / 27.14 MB, free: 56 kB / 13.93 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.006332, allocations: 29.7 kB / 27.17 MB, free: 20 kB / 13.93 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.006346, allocations: 4 kB / 27.17 MB, free: 16 kB / 13.93 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.006368, allocations: 0 / 27.17 MB, free: 16 kB / 13.93 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.006451, allocations: 8 kB / 27.18 MB, free: 8 kB / 13.93 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.006465, allocations: 0 / 27.18 MB, free: 8 kB / 13.93 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.447e-05/0.006546, allocations: 15.98 kB / 27.19 MB, free: 4.633 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.00657, allocations: 0 / 27.19 MB, free: 4.633 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001295/0.006709, allocations: 143.5 kB / 27.33 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/0.006756, allocations: 15.88 kB / 27.35 MB, free: 4.469 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.006792, allocations: 3.891 kB / 27.35 MB, free: 4.457 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.006801, allocations: 0 / 27.35 MB, free: 4.457 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.006813, allocations: 48 / 27.35 MB, free: 4.457 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.006826, allocations: 3.984 kB / 27.36 MB, free: 4.453 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.007068, allocations: 169.6 kB / 27.52 MB, free: 4.238 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007079, allocations: 3.938 kB / 27.53 MB, free: 4.234 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.007098, allocations: 0 / 27.53 MB, free: 4.234 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.007106, allocations: 0 / 27.53 MB, free: 4.234 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.007123, allocations: 4 kB / 27.53 MB, free: 4.23 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007131, allocations: 0 / 27.53 MB, free: 4.23 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.007143, allocations: 4.312 kB / 27.53 MB, free: 4.227 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.007317, allocations: 173.1 kB / 27.7 MB, free: 4.035 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.00738, allocations: 85.02 kB / 27.79 MB, free: 3.934 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.007407, allocations: 0 / 27.79 MB, free: 3.934 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.007476, allocations: 0 / 27.79 MB, free: 3.934 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.007511, allocations: 3.984 kB / 27.79 MB, free: 3.93 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.007523, allocations: 4 kB / 27.79 MB, free: 3.926 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.38e-05/0.007595, allocations: 91.3 kB / 27.88 MB, free: 3.836 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.6e-07/0.007604, allocations: 0 / 27.88 MB, free: 3.836 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.000333/0.007945, allocations: 16 kB / 27.9 MB, free: 3.82 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (T1.activation.active) * Number of discrete states: 1 (T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0005418/0.008496, allocations: 0.7109 MB / 28.61 MB, free: 3.078 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.008663, allocations: 79.42 kB / 28.69 MB, free: 2.988 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.008676, allocations: 0 / 28.69 MB, free: 2.988 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 4.54e-05/0.008728, allocations: 59.41 kB / 28.75 MB, free: 2.918 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.009032, allocations: 4 kB / 28.75 MB, free: 2.914 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.01058, allocations: 1.295 MB / 30.04 MB, free: 1.531 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.01091, allocations: 0.677 MB / 30.72 MB, free: 0.8281 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.01103, allocations: 35.84 kB / 30.76 MB, free: 0.793 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.0111, allocations: 19.42 kB / 30.78 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of SimCode: time 2.81e-07/0.01111, allocations: 4 kB / 30.78 MB, free: 0.7695 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.03546, allocations: 1.162 MB / 31.94 MB, free: 6.793 MB / 18.57 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001714/0.03568, allocations: 159.7 kB / 32.1 MB, free: 6.539 MB / 18.57 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.781, allocations: 0 / 32.1 MB, free: 6.539 MB / 18.57 MB (rm -f ConPNlib_ConPNlib.Examples.Test1b.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test1b.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test1b.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test1b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ConPNlib_ConPNlib_Examples_Test1b_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ConPNlib_ConPNlib_Examples_Test1b.fmu > ConPNlib_ConPNlib.Examples.Test1b.pipe 2>&1)