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.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00128/0.00128, allocations: 117.4 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 208.5 kB / 18.79 MB, free: 4.141 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.455/1.455, allocations: 230.4 MB / 250 MB, free: 9.133 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.002052/0.002052, allocations: 75.83 kB / 366.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2822, allocations: 53.3 MB / 420.2 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002952/0.2852, allocations: 1.455 MB / 421.6 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002748/0.2854, allocations: 95.73 kB / 421.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.2855, allocations: 4 kB / 421.7 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.228e-05/0.2855, allocations: 3.938 kB / 421.7 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.435e-05/0.2855, allocations: 7.938 kB / 421.7 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2858, allocations: 23.91 kB / 421.7 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.671e-05/0.2859, allocations: 19.98 kB / 421.8 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.179e-05/0.286, allocations: 8 kB / 421.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.286, allocations: 11.92 kB / 421.8 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.159e-05/0.2861, allocations: 15.92 kB / 421.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.2861, allocations: 0 / 421.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.2861, allocations: 7.938 kB / 421.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.2861, allocations: 4 kB / 421.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.2861, allocations: 19.86 kB / 421.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.896e-05/0.2862, allocations: 19.92 kB / 421.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.238e-06/0.2862, allocations: 7.984 kB / 421.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2862, allocations: 0 / 421.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2862, allocations: 0 / 421.9 MB, free: 6.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004748/0.2867, allocations: 330.6 kB / 422.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2867, allocations: 12.03 kB / 422.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.648e-05/0.2868, allocations: 34.75 kB / 422.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.2868, allocations: 4.938 kB / 422.2 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.287, allocations: 180.2 kB / 422.4 MB, free: 5.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2871, allocations: 8.375 kB / 422.4 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.2871, allocations: 4.375 kB / 422.4 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.2873, allocations: 95.88 kB / 422.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.2874, allocations: 11.86 kB / 422.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.2874, allocations: 0 / 422.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2874, allocations: 0 / 422.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.471e-05/0.2875, allocations: 19.98 kB / 422.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.2876, allocations: 153.7 kB / 422.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2877, allocations: 46.59 kB / 422.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.2878, allocations: 20.89 kB / 422.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.2878, allocations: 0 / 422.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2879, allocations: 34.56 kB / 422.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2879, allocations: 3.938 kB / 422.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001893/0.2881, allocations: 69.56 kB / 422.9 MB, free: 5.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2881, allocations: 59.41 kB / 422.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.2882, allocations: 101.8 kB / 423 MB, free: 5.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.2882, allocations: 25.7 kB / 423 MB, free: 5.223 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.344e-05/0.2883, allocations: 84.14 kB / 423.1 MB, free: 5.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.463e-06/0.2883, allocations: 3.938 kB / 423.1 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.2883, allocations: 25.66 kB / 423.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2885, allocations: 314.8 kB / 423.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.2885, allocations: 8 kB / 423.5 MB, free: 4.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.052e-05/0.2885, allocations: 27.38 kB / 423.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.2886, allocations: 31.44 kB / 423.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2886, allocations: 0 / 423.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.002e-05/0.2886, allocations: 57.56 kB / 423.6 MB, free: 4.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.2887, allocations: 11.94 kB / 423.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2887, allocations: 256 / 423.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2887, allocations: 0 / 423.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.95e-05/0.2887, allocations: 11.98 kB / 423.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2887, allocations: 4.125 kB / 423.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.2887, allocations: 4 kB / 423.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.2887, allocations: 0 / 423.6 MB, free: 4.602 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 9.169e-05/0.2888, allocations: 113.8 kB / 423.7 MB, free: 4.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.2889, allocations: 65.52 kB / 423.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.289, allocations: 3.5 kB / 423.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.289, allocations: 0 / 423.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.289, allocations: 0 / 423.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.289, allocations: 0 / 423.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.2891, allocations: 161.7 kB / 424 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2891, allocations: 0 / 424 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.2891, allocations: 4 kB / 424 MB, free: 4.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.2891, allocations: 4.266 kB / 424 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.2891, allocations: 0 / 424 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2891, allocations: 0 / 424 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2891, allocations: 0 / 424 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.2893, allocations: 85.05 kB / 424 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.2893, allocations: 92.98 kB / 424.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.2893, allocations: 3.938 kB / 424.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.168e-05/0.2893, allocations: 4 kB / 424.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-06/0.2893, allocations: 0 / 424.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2893, allocations: 0 / 424.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.2894, allocations: 83.28 kB / 424.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2894, allocations: 0 / 424.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000191/0.2896, allocations: 4 kB / 424.2 MB, free: 3.879 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 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0004684/0.29, allocations: 0.6241 MB / 424.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.843e-05/0.2901, allocations: 23.92 kB / 424.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2901, allocations: 0 / 424.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2901, allocations: 3.938 kB / 424.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.2903, allocations: 26.88 kB / 424.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.2913, allocations: 1.143 MB / 426 MB, free: 1.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.2917, allocations: 0.6807 MB / 426.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.296e-05/0.2917, allocations: 0 / 426.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.2917, allocations: 19.44 kB / 426.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2917, allocations: 0 / 426.7 MB, free: 1.203 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.3145, allocations: 1.254 MB / 428 MB, free: 88 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.028, allocations: 11.92 kB / 428 MB, free: 76 kB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_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_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1)