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.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001449/0.001449, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002064/0.002064, allocations: 71.83 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1052, allocations: 53.33 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002763/0.108, allocations: 1.431 MB / 428.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001912/0.1081, allocations: 27.94 kB / 428.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.1082, allocations: 3.938 kB / 428.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.012e-05/0.1082, allocations: 7.922 kB / 428.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.74e-05/0.1083, allocations: 7.922 kB / 428.5 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1085, allocations: 19.98 kB / 428.5 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.1086, allocations: 31.92 kB / 428.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.1087, allocations: 11.98 kB / 428.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.1087, allocations: 7.938 kB / 428.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.396e-05/0.1088, allocations: 15.92 kB / 428.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.1088, allocations: 0 / 428.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.1088, allocations: 4 kB / 428.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.1088, allocations: 4 kB / 428.6 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.1088, allocations: 15.92 kB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.109, allocations: 35.83 kB / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.109, allocations: 0 / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.109, allocations: 0 / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.109, allocations: 4 kB / 428.6 MB, free: 3.164 MB / 350.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.0004553/0.1094, allocations: 337.9 kB / 429 MB, free: 2.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.1095, allocations: 15.97 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.1095, allocations: 34.75 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.495e-05/0.1095, allocations: 0.9375 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1098, allocations: 180.3 kB / 429.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.1098, allocations: 4.359 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.1098, allocations: 12.31 kB / 429.2 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.1102, allocations: 111.9 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.046e-06/0.1102, allocations: 7.938 kB / 429.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1102, allocations: 3.984 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1102, allocations: 0 / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1103, allocations: 15.98 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001701/0.1105, allocations: 157.7 kB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1106, allocations: 54.48 kB / 429.5 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.1107, allocations: 24.92 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1107, allocations: 4 kB / 429.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1108, allocations: 30.56 kB / 429.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1108, allocations: 0 / 429.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002765/0.111, allocations: 81.55 kB / 429.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.1111, allocations: 55.41 kB / 429.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.1112, allocations: 105.8 kB / 429.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1112, allocations: 25.7 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.1113, allocations: 88.12 kB / 429.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.1113, allocations: 3.938 kB / 429.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.1113, allocations: 17.72 kB / 430 MB, free: 1.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1115, allocations: 314.8 kB / 430.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.1115, allocations: 7.984 kB / 430.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.1115, allocations: 31.44 kB / 430.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.1116, allocations: 35.38 kB / 430.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1116, allocations: 0 / 430.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.771e-05/0.1117, allocations: 69.58 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1117, allocations: 11.88 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1117, allocations: 0 / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1117, allocations: 4.375 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.1118, allocations: 4 kB / 430.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1118, allocations: 7.922 kB / 430.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/0.1118, allocations: 4 kB / 430.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1118, allocations: 4 kB / 430.5 MB, free: 1.074 MB / 350.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001004/0.1119, allocations: 118 kB / 430.6 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.112, allocations: 61.61 kB / 430.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.1121, allocations: 7.5 kB / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1121, allocations: 0 / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1121, allocations: 240 / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1121, allocations: 0 / 430.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.1122, allocations: 153.7 kB / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1122, allocations: 3.984 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1122, allocations: 7.984 kB / 430.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1122, allocations: 3.938 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1123, allocations: 4 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1123, allocations: 3.938 kB / 430.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1123, allocations: 4 kB / 430.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1124, allocations: 85.06 kB / 430.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.311e-05/0.1125, allocations: 77.11 kB / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1125, allocations: 7.938 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.171e-05/0.1125, allocations: 7.984 kB / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.395e-06/0.1125, allocations: 0 / 431 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1125, allocations: 8 kB / 431 MB, free: 432 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.329e-05/0.1126, allocations: 79.28 kB / 431.1 MB, free: 352 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1126, allocations: 3.938 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001843/0.1128, allocations: 8 kB / 431.1 MB, free: 340 kB / 350.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005928/0.1134, allocations: 0.648 MB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1135, allocations: 31.98 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1135, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.1135, allocations: 7.938 kB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.1137, allocations: 20.02 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.1148, allocations: 1.17 MB / 433 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1151, allocations: 0.6846 MB / 433.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.1151, allocations: 3.984 kB / 433.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1151, allocations: 11.44 kB / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1151, allocations: 0 / 433.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.14, allocations: 1.323 MB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.097, allocations: 6.438 kB / 435 MB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.820824417285621] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.16689748223871 8.398697677 8.077804625 Calling exit ...