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.TimeBasedPulse.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.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00156/0.00156, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 203.8 kB / 18.74 MB, free: 4.332 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.421/1.421, allocations: 227.7 MB / 247.2 MB, free: 10.21 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.001985/0.001985, allocations: 75.88 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2777, allocations: 50.54 MB / 409.1 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002686/0.2805, allocations: 1.498 MB / 410.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000912/0.2814, allocations: 486.8 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.762e-05/0.2815, allocations: 7.938 kB / 411 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.2815, allocations: 3.984 kB / 411 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.2817, allocations: 7.875 kB / 411.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.2819, allocations: 35.91 kB / 411.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.282, allocations: 59.78 kB / 411.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2821, allocations: 11.98 kB / 411.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.512e-05/0.2822, allocations: 19.92 kB / 411.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.2823, allocations: 23.91 kB / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2823, allocations: 4 kB / 411.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.426e-05/0.2823, allocations: 7.938 kB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.2823, allocations: 11.94 kB / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.2824, allocations: 19.92 kB / 411.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.2825, allocations: 50.89 kB / 411.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2826, allocations: 4 kB / 411.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2826, allocations: 0 / 411.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2826, allocations: 0 / 411.3 MB, free: 15.19 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.0006491/0.2832, allocations: 379.3 kB / 411.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2833, allocations: 8.031 kB / 411.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.2833, allocations: 38.75 kB / 411.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.2834, allocations: 4.891 kB / 411.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.2837, allocations: 180.3 kB / 411.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2837, allocations: 8.312 kB / 411.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2838, allocations: 8.312 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.2841, allocations: 143.3 kB / 412 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2842, allocations: 4 kB / 412.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.2842, allocations: 0 / 412.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.2842, allocations: 0 / 412.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2843, allocations: 31.97 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2845, allocations: 161.7 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.2847, allocations: 139.7 kB / 412.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2848, allocations: 28.84 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2848, allocations: 8 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.2849, allocations: 38.44 kB / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2849, allocations: 0 / 412.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002714/0.2852, allocations: 85.62 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.2852, allocations: 59.41 kB / 412.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2853, allocations: 117.8 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2854, allocations: 29.64 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.908e-05/0.2854, allocations: 84.14 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.2855, allocations: 4 kB / 412.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.2855, allocations: 21.7 kB / 412.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2857, allocations: 314.8 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.24e-05/0.2857, allocations: 11.98 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.2857, allocations: 45.16 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.412e-05/0.2858, allocations: 49.34 kB / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2858, allocations: 0 / 413.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.2859, allocations: 89.45 kB / 413.3 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.286, allocations: 7.984 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.286, allocations: 4 kB / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.286, allocations: 0 / 413.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.2861, allocations: 12.12 kB / 413.4 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/0.2861, allocations: 7.938 kB / 413.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.2861, allocations: 7.938 kB / 413.4 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2861, allocations: 4 kB / 413.4 MB, free: 12.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * 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.0001012/0.2862, allocations: 113.8 kB / 413.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.2864, allocations: 77.5 kB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.2864, allocations: 12.38 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2864, allocations: 0 / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2864, allocations: 0 / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2865, allocations: 4 kB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2866, allocations: 161.6 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2866, allocations: 7.984 kB / 413.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.825e-05/0.2867, allocations: 7.938 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2867, allocations: 0 / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.2867, allocations: 0 / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2867, allocations: 0 / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2867, allocations: 4 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001871/0.2869, allocations: 105 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.2869, allocations: 84.98 kB / 414 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.287, allocations: 7.984 kB / 414 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.2871, allocations: 11.98 kB / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.2871, allocations: 128 / 414 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.2871, allocations: 8 kB / 414 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.082e-05/0.2871, allocations: 83.28 kB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2871, allocations: 4 kB / 414.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.2874, allocations: 15.98 kB / 414.1 MB, free: 12.01 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: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005573/0.2879, allocations: 0.6515 MB / 414.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.2881, allocations: 48.28 kB / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2881, allocations: 0 / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2881, allocations: 0 / 414.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.2884, allocations: 39.94 kB / 414.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2896, allocations: 1.251 MB / 416.1 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.29, allocations: 0.6884 MB / 416.8 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.026e-05/0.29, allocations: 4 kB / 416.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.2902, allocations: 22.56 kB / 416.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2902, allocations: 3.938 kB / 416.8 MB, free: 9.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02397/0.3141, allocations: 1.662 MB / 418.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.184, allocations: 6.953 kB / 418.5 MB, free: 7.617 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1)