Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 227.7 MB / 247.2 MB, free: 10.25 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 67.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2961, allocations: 50.55 MB / 409.1 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00306/0.2992, allocations: 1.53 MB / 410.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.2996, allocations: 139.5 kB / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.2997, allocations: 0 / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.979e-05/0.2998, allocations: 7.875 kB / 410.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.2999, allocations: 11.94 kB / 410.8 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3002, allocations: 35.89 kB / 410.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3003, allocations: 39.86 kB / 410.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3004, allocations: 23.97 kB / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.3004, allocations: 19.92 kB / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.544e-05/0.3005, allocations: 11.94 kB / 410.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3005, allocations: 3.938 kB / 410.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.3005, allocations: 4 kB / 410.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.3006, allocations: 19.92 kB / 410.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.3006, allocations: 19.81 kB / 410.9 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3008, allocations: 58.83 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3008, allocations: 4 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3008, allocations: 0 / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3008, allocations: 0 / 411 MB, free: 15.46 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005595/0.3014, allocations: 371.2 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3014, allocations: 8.031 kB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3015, allocations: 34.73 kB / 411.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.3015, allocations: 8.891 kB / 411.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003089/0.3018, allocations: 200.1 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.3018, allocations: 12.36 kB / 411.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.3019, allocations: 8.312 kB / 411.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.3021, allocations: 114.5 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3022, allocations: 3.938 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.3022, allocations: 0 / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.3022, allocations: 8 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.13e-05/0.3023, allocations: 23.98 kB / 411.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.3028, allocations: 365.8 kB / 412.1 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3029, allocations: 83.72 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.303, allocations: 34.62 kB / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.303, allocations: 0 / 412.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.3031, allocations: 34.56 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 3.076e-06/0.3031, allocations: 4 kB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002968/0.3034, allocations: 97.48 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.3035, allocations: 102.8 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3037, allocations: 140.8 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3037, allocations: 25.7 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.3038, allocations: 92.5 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3038, allocations: 23.88 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.3038, allocations: 17.72 kB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.304, allocations: 318.8 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.304, allocations: 12 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.3041, allocations: 39.36 kB / 413.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3042, allocations: 47.42 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3042, allocations: 4 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001878/0.3044, allocations: 77.5 kB / 413.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3045, allocations: 4.125 kB / 413.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3045, allocations: 8 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3045, allocations: 0 / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.3045, allocations: 3.984 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3045, allocations: 4 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.633e-05/0.3046, allocations: 4 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3046, allocations: 4 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001177/0.3047, allocations: 125.8 kB / 413.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.3048, allocations: 49.69 kB / 413.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3049, allocations: 23.83 kB / 413.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.3049, allocations: 8 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3049, allocations: 0 / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3049, allocations: 0 / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.3051, allocations: 177.5 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3051, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/0.3052, allocations: 0 / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3052, allocations: 0 / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.3052, allocations: 4 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3052, allocations: 7.922 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3052, allocations: 4 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.3055, allocations: 255.5 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.079e-05/0.3056, allocations: 93.05 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.3056, allocations: 0 / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.3057, allocations: 4 kB / 414 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3057, allocations: 7.984 kB / 414 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3058, allocations: 4 kB / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.396e-05/0.3058, allocations: 103.3 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3059, allocations: 0 / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3061, allocations: 8 kB / 414.1 MB, free: 11.88 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0006206/0.3068, allocations: 0.7945 MB / 414.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.3069, allocations: 39.91 kB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3069, allocations: 0 / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.307, allocations: 12.25 kB / 415 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.3074, allocations: 32.12 kB / 415 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.309, allocations: 1.461 MB / 416.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.3094, allocations: 0.6885 MB / 417.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3094, allocations: 7.984 kB / 417.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.3095, allocations: 19.44 kB / 417.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3095, allocations: 0 / 417.2 MB, free: 8.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.335, allocations: 1.733 MB / 418.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.54, allocations: 10.98 kB / 418.9 MB, free: 7.105 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleVectorizedAndClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1)