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.Sample1.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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 118.2 kB / 17.79 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.001343/0.001343, allocations: 206 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.466/1.466, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.001996/0.001996, allocations: 63.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2647, allocations: 50.55 MB / 409.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003075/0.2678, allocations: 1.518 MB / 410.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003907/0.2682, allocations: 135.6 kB / 410.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.2683, allocations: 0 / 410.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.2684, allocations: 7.922 kB / 410.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.2685, allocations: 7.938 kB / 410.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002916/0.2688, allocations: 43.83 kB / 410.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.2689, allocations: 23.98 kB / 410.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.269, allocations: 12 kB / 410.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.934e-05/0.269, allocations: 15.92 kB / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.382e-05/0.269, allocations: 23.8 kB / 410.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.2691, allocations: 8 kB / 410.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.2691, allocations: 0 / 410.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.2691, allocations: 11.98 kB / 410.9 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.2692, allocations: 19.81 kB / 410.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2693, allocations: 46.91 kB / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2693, allocations: 0 / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2693, allocations: 0 / 410.9 MB, free: 15.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2693, allocations: 0 / 410.9 MB, free: 15.48 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.0005017/0.2698, allocations: 371.1 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2699, allocations: 12.03 kB / 411.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.17e-05/0.2699, allocations: 42.73 kB / 411.3 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.27, allocations: 4.891 kB / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.2702, allocations: 187.4 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2702, allocations: 4.375 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.2703, allocations: 4.375 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.2706, allocations: 117.5 kB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2706, allocations: 3.938 kB / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2706, allocations: 0 / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2706, allocations: 0 / 411.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.2707, allocations: 23.92 kB / 411.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.271, allocations: 265.7 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.2712, allocations: 138.2 kB / 412.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.619e-05/0.2713, allocations: 21.78 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.2713, allocations: 4 kB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2714, allocations: 42.55 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2714, allocations: 0 / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002305/0.2716, allocations: 69.58 kB / 412.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2717, allocations: 77.11 kB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2718, allocations: 129.8 kB / 412.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.2718, allocations: 25.7 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.2719, allocations: 88.12 kB / 412.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.2719, allocations: 4.125 kB / 412.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.2719, allocations: 25.67 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2721, allocations: 318.8 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.2721, allocations: 4 kB / 412.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.2722, allocations: 35.55 kB / 412.9 MB, free: 13.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.117e-05/0.2723, allocations: 43.42 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2723, allocations: 3.938 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001162/0.2724, allocations: 61.56 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2724, allocations: 7.938 kB / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2724, allocations: 0 / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2725, allocations: 8.125 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.371e-05/0.2725, allocations: 3.984 kB / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2725, allocations: 0 / 413 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.2725, allocations: 8 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.2725, allocations: 4 kB / 413 MB, free: 13.06 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 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.829e-05/0.2727, allocations: 125.8 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.2727, allocations: 53.58 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.2728, allocations: 3.906 kB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.2728, allocations: 4 kB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2728, allocations: 4 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2728, allocations: 0 / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.273, allocations: 173.5 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.273, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.818e-05/0.2731, allocations: 4 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2731, allocations: 3.984 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.2731, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2731, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2731, allocations: 0 / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2733, allocations: 172.2 kB / 413.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.599e-05/0.2733, allocations: 93.05 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.2734, allocations: 0 / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.2734, allocations: 0 / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2735, allocations: 7.984 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.2735, allocations: 4 kB / 413.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.047e-05/0.2735, allocations: 95.27 kB / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2736, allocations: 0 / 413.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.2738, allocations: 12 kB / 413.8 MB, free: 12.2 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0005347/0.2743, allocations: 0.7014 MB / 414.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.2745, allocations: 31.98 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2745, allocations: 0 / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.2745, allocations: 8 kB / 414.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.2748, allocations: 20 kB / 414.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.2763, allocations: 1.31 MB / 415.9 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.2766, allocations: 0.6885 MB / 416.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.793e-05/0.2766, allocations: 0 / 416.5 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.2767, allocations: 15.44 kB / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2767, allocations: 0 / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.3006, allocations: 1.473 MB / 418 MB, free: 7.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.882, allocations: 7.938 kB / 418 MB, free: 7.934 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_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_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1)