Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001248/0.001248, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001242/0.001242, allocations: 214.4 kB / 18.59 MB, free: 4.402 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.436/1.436, allocations: 227.7 MB / 247.1 MB, free: 10.32 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.001914/0.001914, allocations: 69.02 kB / 307.3 MB, free: 420 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 50.54 MB / 357.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003649/0.1058, allocations: 1.433 MB / 359.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003094/0.1061, allocations: 93.34 kB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.606e-05/0.1062, allocations: 3.938 kB / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.328e-05/0.1063, allocations: 0 / 359.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.1063, allocations: 7.938 kB / 359.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1066, allocations: 23.91 kB / 359.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.084e-05/0.1067, allocations: 31.92 kB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1068, allocations: 8 kB / 359.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.474e-05/0.1069, allocations: 15.92 kB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.1069, allocations: 11.94 kB / 359.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1069, allocations: 4 kB / 359.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.107, allocations: 0 / 359.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.107, allocations: 7.922 kB / 359.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.107, allocations: 11.94 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.685e-05/0.1071, allocations: 31.89 kB / 359.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1071, allocations: 0 / 359.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1071, allocations: 0 / 359.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1072, allocations: 4 kB / 359.6 MB, free: 12.16 MB / 302.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.000487/0.1076, allocations: 335.7 kB / 359.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1077, allocations: 12.03 kB / 359.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.1077, allocations: 34.73 kB / 359.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1078, allocations: 12.84 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.108, allocations: 172.3 kB / 360.1 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.108, allocations: 4.312 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.108, allocations: 4.375 kB / 360.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003304/0.1084, allocations: 107.9 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1084, allocations: 7.875 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1084, allocations: 0 / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1084, allocations: 0 / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.478e-05/0.1085, allocations: 19.98 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1087, allocations: 157.7 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1088, allocations: 54.59 kB / 360.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.65e-05/0.1089, allocations: 28.77 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1089, allocations: 3.984 kB / 360.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.109, allocations: 34.55 kB / 360.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.109, allocations: 7.984 kB / 360.5 MB, free: 11 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.1092, allocations: 73.61 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.1093, allocations: 51.41 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.1094, allocations: 109.8 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.1095, allocations: 25.7 kB / 360.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.374e-05/0.1095, allocations: 80.14 kB / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.1096, allocations: 0 / 360.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.1096, allocations: 17.72 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1098, allocations: 326.8 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.1098, allocations: 3.938 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.1098, allocations: 23.44 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.311e-05/0.1099, allocations: 43.38 kB / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1099, allocations: 0 / 361.3 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.529e-05/0.11, allocations: 57.53 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.11, allocations: 7.938 kB / 361.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.11, allocations: 4 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1101, allocations: 0 / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.738e-05/0.1101, allocations: 4 kB / 361.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.1102, allocations: 11.97 kB / 361.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.1102, allocations: 12.06 kB / 361.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1102, allocations: 4.25 kB / 361.4 MB, free: 10.08 MB / 302.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 0.0001048/0.1103, allocations: 113.8 kB / 361.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1104, allocations: 61.62 kB / 361.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.1105, allocations: 7.891 kB / 361.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.1105, allocations: 0 / 361.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1105, allocations: 0 / 361.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1105, allocations: 0 / 361.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.1106, allocations: 157.7 kB / 361.7 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1106, allocations: 4 kB / 361.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.1107, allocations: 7.984 kB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1107, allocations: 3.938 kB / 361.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1107, allocations: 0 / 361.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1107, allocations: 4 kB / 361.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1107, allocations: 7.875 kB / 361.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1109, allocations: 92.95 kB / 361.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.111, allocations: 77.11 kB / 361.9 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.111, allocations: 7.938 kB / 361.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.458e-05/0.111, allocations: 4 kB / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-06/0.111, allocations: 0 / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.111, allocations: 0 / 361.9 MB, free: 9.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.1111, allocations: 83.27 kB / 362 MB, free: 9.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1111, allocations: 0 / 362 MB, free: 9.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001905/0.1113, allocations: 8 kB / 362 MB, free: 9.344 MB / 302.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.0004834/0.1118, allocations: 0.6283 MB / 362.6 MB, free: 8.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.1119, allocations: 19.98 kB / 362.6 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1119, allocations: 3.938 kB / 362.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.1119, allocations: 4 kB / 362.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.1121, allocations: 30.67 kB / 362.7 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.1131, allocations: 1.154 MB / 363.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.1134, allocations: 0.6884 MB / 364.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.059e-05/0.1135, allocations: 0 / 364.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.968e-05/0.1135, allocations: 15.44 kB / 364.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1135, allocations: 0 / 364.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/0.1611, allocations: 1.218 MB / 365.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.291, allocations: 7.922 kB / 365.8 MB, free: 5.539 MB / 302.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1)