Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.8 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004001/0.0004006, allocations: 8 kB / 264 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2849, allocations: 44.5 MB / 308.5 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.00268/0.2877, allocations: 1.458 MB / 310 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.2892, allocations: 0.6167 MB / 310.6 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.2893, allocations: 4 kB / 310.6 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2895, allocations: 27.77 kB / 310.7 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.2897, allocations: 27.91 kB / 310.7 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.29, allocations: 63.86 kB / 310.7 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.2902, allocations: 111.7 kB / 310.9 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.2905, allocations: 58.41 kB / 310.9 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.2906, allocations: 59.7 kB / 311 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2908, allocations: 67.67 kB / 311 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2908, allocations: 4 kB / 311 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.953e-05/0.2909, allocations: 15.98 kB / 311.1 MB, free: 10.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.235e-05/0.291, allocations: 27.86 kB / 311.1 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.157e-05/0.2911, allocations: 53.58 kB / 311.1 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.2913, allocations: 120.7 kB / 311.2 MB, free: 9.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2914, allocations: 4 kB / 311.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2914, allocations: 0 / 311.3 MB, free: 9.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2914, allocations: 4 kB / 311.3 MB, free: 9.918 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001116/0.2925, allocations: 486.6 kB / 311.7 MB, free: 9.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2926, allocations: 8.031 kB / 311.7 MB, free: 9.387 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.283e-05/0.2926, allocations: 50.55 kB / 311.8 MB, free: 9.328 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.2927, allocations: 23.72 kB / 311.8 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.2931, allocations: 234.6 kB / 312 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.2931, allocations: 20 kB / 312.1 MB, free: 9.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.2932, allocations: 16 kB / 312.1 MB, free: 9 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000569/0.2938, allocations: 205.6 kB / 312.3 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2938, allocations: 7.922 kB / 312.3 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.2938, allocations: 4 kB / 312.3 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.2939, allocations: 11.94 kB / 312.3 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.2945, allocations: 147.8 kB / 312.4 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.296, allocations: 0.7896 MB / 313.2 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.2971, allocations: 218.6 kB / 313.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.2971, allocations: 4 kB / 313.5 MB, free: 7.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004093/0.2976, allocations: 155.7 kB / 313.6 MB, free: 7.367 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.865e-06/0.2976, allocations: 4 kB / 313.6 MB, free: 7.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009684/0.2986, allocations: 261.2 kB / 313.9 MB, free: 7.102 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.2986, allocations: 81.11 kB / 313.9 MB, free: 7.004 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.2989, allocations: 216 kB / 314.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.299, allocations: 33.7 kB / 314.2 MB, free: 6.746 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2991, allocations: 132.6 kB / 314.3 MB, free: 6.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.2992, allocations: 39.53 kB / 314.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-05/0.2992, allocations: 4 kB / 314.4 MB, free: 6.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2994, allocations: 326.8 kB / 314.7 MB, free: 6.242 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.2996, allocations: 71.95 kB / 314.7 MB, free: 6.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.3, allocations: 148.4 kB / 314.9 MB, free: 5.996 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.3003, allocations: 83.95 kB / 315 MB, free: 5.914 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3003, allocations: 4 kB / 315 MB, free: 5.91 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007879/0.3011, allocations: 257 kB / 315.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.3012, allocations: 8 kB / 315.2 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.3012, allocations: 3.984 kB / 315.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3012, allocations: 4 kB / 315.2 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.3015, allocations: 39.92 kB / 315.3 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3016, allocations: 4.203 kB / 315.3 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.3019, allocations: 47.75 kB / 315.3 MB, free: 5.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.3019, allocations: 8 kB / 315.3 MB, free: 5.539 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001988/0.3021, allocations: 144 kB / 315.5 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.3022, allocations: 23.81 kB / 315.5 MB, free: 5.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.3026, allocations: 131 kB / 315.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3026, allocations: 4 kB / 315.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3026, allocations: 0 / 315.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.3026, allocations: 3.953 kB / 315.6 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009313/0.3035, allocations: 479.1 kB / 316.1 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3036, allocations: 0 / 316.1 MB, free: 4.695 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.3038, allocations: 31.97 kB / 316.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.3038, allocations: 96 / 316.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3038, allocations: 7.938 kB / 316.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.3039, allocations: 7.891 kB / 316.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3039, allocations: 0 / 316.2 MB, free: 4.648 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.3046, allocations: 292.1 kB / 316.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.3047, allocations: 96.91 kB / 316.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.3047, allocations: 4 kB / 316.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.305, allocations: 23.98 kB / 316.6 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.3051, allocations: 23.92 kB / 316.6 MB, free: 4.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3052, allocations: 11.98 kB / 316.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.3054, allocations: 147.4 kB / 316.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.3054, allocations: 0 / 316.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004171/0.3058, allocations: 39.84 kB / 316.8 MB, free: 3.984 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001074/0.3069, allocations: 0.838 MB / 317.6 MB, free: 3.117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.3076, allocations: 180.2 kB / 317.8 MB, free: 2.941 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3076, allocations: 0 / 317.8 MB, free: 2.941 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003216/0.3079, allocations: 79.89 kB / 317.9 MB, free: 2.863 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3083, allocations: 30.89 kB / 317.9 MB, free: 2.836 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.3111, allocations: 1.189 MB / 319.1 MB, free: 1.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.3116, allocations: 0.7402 MB / 319.8 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3118, allocations: 41.52 kB / 319.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.312, allocations: 59.42 kB / 319.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of SimCode: time 1.142e-06/0.312, allocations: 0 / 319.9 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.3381, allocations: 3.581 MB / 323.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003609/0.3386, allocations: 169.5 kB / 323.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/2.727, allocations: 0 / 323.7 MB, free: 12.92 MB / 266.7 MB