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.AssignClock.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.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001547/0.001547, allocations: 207.8 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.393/1.393, allocations: 227.7 MB / 247.2 MB, free: 10.17 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.002072/0.002072, allocations: 63.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2772, allocations: 50.55 MB / 409.1 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002745/0.28, allocations: 0.8614 MB / 409.9 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.2805, allocations: 115.6 kB / 410 MB, free: 436 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.2806, allocations: 4 kB / 410 MB, free: 432 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.02e-05/0.2807, allocations: 3.938 kB / 410 MB, free: 428 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2808, allocations: 3.938 kB / 410.1 MB, free: 424 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.2811, allocations: 35.89 kB / 410.1 MB, free: 388 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.2813, allocations: 43.91 kB / 410.1 MB, free: 344 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.2814, allocations: 23.98 kB / 410.2 MB, free: 320 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.2814, allocations: 19.86 kB / 410.2 MB, free: 300 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.2815, allocations: 15.92 kB / 410.2 MB, free: 284 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.2815, allocations: 4 kB / 410.2 MB, free: 280 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.2815, allocations: 4 kB / 410.2 MB, free: 276 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.2816, allocations: 15.92 kB / 410.2 MB, free: 260 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.2816, allocations: 23.81 kB / 410.2 MB, free: 236 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.2818, allocations: 54.89 kB / 410.3 MB, free: 184 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.882e-06/0.2818, allocations: 0 / 410.3 MB, free: 184 kB / 318.1 MB Notification: Performance of FrontEnd: time 7.714e-06/0.2818, allocations: 8 kB / 410.3 MB, free: 176 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.2819, allocations: 0 / 410.3 MB, free: 176 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005141/0.2824, allocations: 371 kB / 410.7 MB, free: 15.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.2824, allocations: 12.03 kB / 410.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.2825, allocations: 34.75 kB / 410.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.2825, allocations: 8.891 kB / 410.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2829, allocations: 196.2 kB / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.2829, allocations: 384 / 410.9 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2829, allocations: 12.38 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.2832, allocations: 135.7 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2832, allocations: 7.875 kB / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.2832, allocations: 0 / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2833, allocations: 0 / 411.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.2833, allocations: 15.98 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2835, allocations: 169.7 kB / 411.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.2836, allocations: 74.67 kB / 411.3 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.453e-05/0.2837, allocations: 40.84 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2837, allocations: 0 / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2838, allocations: 34.56 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.865e-06/0.2838, allocations: 4 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002431/0.284, allocations: 85.58 kB / 411.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.2841, allocations: 59.34 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2842, allocations: 129.8 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2843, allocations: 29.7 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.2843, allocations: 80.14 kB / 411.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2844, allocations: 15.94 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.2844, allocations: 21.72 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2846, allocations: 322.8 kB / 412.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.2846, allocations: 4 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-05/0.2846, allocations: 62.86 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.2847, allocations: 70.75 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2847, allocations: 0 / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001712/0.2849, allocations: 93.44 kB / 412.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2849, allocations: 11.94 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.285, allocations: 0 / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.285, allocations: 4 kB / 412.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.805e-05/0.285, allocations: 4 kB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.285, allocations: 0 / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.91e-05/0.2851, allocations: 11.94 kB / 412.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.2851, allocations: 8 kB / 412.4 MB, free: 13.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001048/0.2852, allocations: 130 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.2853, allocations: 77.88 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.2853, allocations: 12.38 kB / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2853, allocations: 0 / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2853, allocations: 0 / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2854, allocations: 192 / 412.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.2855, allocations: 169.6 kB / 412.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.2855, allocations: 7.922 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.2855, allocations: 7.938 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2855, allocations: 7.938 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2855, allocations: 4 kB / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2855, allocations: 0 / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2855, allocations: 0 / 412.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.2857, allocations: 97.14 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.2858, allocations: 93.05 kB / 413 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2858, allocations: 7.938 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.2859, allocations: 0 / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.2859, allocations: 4 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.2859, allocations: 4 kB / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.797e-05/0.286, allocations: 106.6 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.286, allocations: 0 / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.2862, allocations: 12 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005765/0.2868, allocations: 0.6631 MB / 413.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.2869, allocations: 51.84 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2869, allocations: 0 / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.2869, allocations: 4 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.2873, allocations: 43.94 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.289, allocations: 1.31 MB / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2893, allocations: 0.6963 MB / 415.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.585e-05/0.2893, allocations: 7.938 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.2894, allocations: 15.44 kB / 415.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2894, allocations: 0 / 415.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08521/0.3746, allocations: 1.727 MB / 417.6 MB, free: 8.406 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.611, allocations: 12.03 kB / 417.6 MB, free: 8.395 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1)