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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001265/0.001265, allocations: 120 kB / 18.5 MB, free: 4.52 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.001377/0.001377, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.451/1.451, 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.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"}) [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.00211/0.00211, allocations: 67.84 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.105, allocations: 53.33 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.00305/0.1081, allocations: 1.442 MB / 428.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003163/0.1084, allocations: 95.75 kB / 428.5 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.961e-05/0.1085, allocations: 3.938 kB / 428.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.1085, allocations: 3.984 kB / 428.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.958e-05/0.1085, allocations: 7.938 kB / 428.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.1088, allocations: 15.92 kB / 428.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.962e-05/0.1089, allocations: 27.92 kB / 428.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.109, allocations: 11.98 kB / 428.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.1091, allocations: 15.92 kB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.1091, allocations: 15.92 kB / 428.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1091, allocations: 0 / 428.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.1091, allocations: 4 kB / 428.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.1091, allocations: 4 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.1092, allocations: 7.938 kB / 428.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1093, allocations: 31.78 kB / 428.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.1093, allocations: 0 / 428.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1093, allocations: 3.938 kB / 428.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1093, allocations: 0 / 428.7 MB, free: 3.113 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.0004482/0.1097, allocations: 335.5 kB / 429 MB, free: 2.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1098, allocations: 12.03 kB / 429 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.523e-05/0.1098, allocations: 38.73 kB / 429.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.1099, allocations: 4.938 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.1101, allocations: 184.2 kB / 429.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1102, allocations: 4.312 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1102, allocations: 8.375 kB / 429.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1105, allocations: 99.88 kB / 429.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1105, allocations: 7.922 kB / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.1105, allocations: 0 / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1105, allocations: 0 / 429.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.1106, allocations: 15.98 kB / 429.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1107, allocations: 153.7 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.1109, allocations: 46.56 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1109, allocations: 24.86 kB / 429.6 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.808e-05/0.111, allocations: 4 kB / 429.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.111, allocations: 30.56 kB / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.111, allocations: 0 / 429.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002064/0.1112, allocations: 65.58 kB / 429.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1112, allocations: 59.39 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.156e-05/0.1113, allocations: 101.9 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.1113, allocations: 29.7 kB / 429.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.248e-05/0.1114, allocations: 80.14 kB / 430 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.1114, allocations: 7.984 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1114, allocations: 17.72 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1116, allocations: 310.8 kB / 430.3 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.1116, allocations: 3.938 kB / 430.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.1116, allocations: 35.42 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.283e-05/0.1117, allocations: 39.38 kB / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1117, allocations: 0 / 430.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.729e-05/0.1117, allocations: 57.62 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1118, allocations: 7.938 kB / 430.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1118, allocations: 4 kB / 430.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1118, allocations: 3.938 kB / 430.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.605e-05/0.1118, allocations: 4 kB / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1118, allocations: 0 / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.1119, allocations: 0 / 430.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1119, allocations: 4 kB / 430.5 MB, free: 1.086 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: 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.273e-05/0.1119, allocations: 125.8 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.112, allocations: 57.56 kB / 430.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.1121, allocations: 11.5 kB / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1121, allocations: 0 / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1121, allocations: 0 / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1121, allocations: 0 / 430.6 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1122, allocations: 153.9 kB / 430.8 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1122, allocations: 4 kB / 430.8 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.101e-05/0.1122, allocations: 4.328 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1122, allocations: 3.938 kB / 430.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.1122, allocations: 7.984 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1122, allocations: 0 / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1122, allocations: 0 / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1124, allocations: 85.05 kB / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.1124, allocations: 85 kB / 431 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1124, allocations: 3.938 kB / 431 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.063e-05/0.1124, allocations: 3.984 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-06/0.1124, allocations: 0 / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1124, allocations: 8 kB / 431 MB, free: 444 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.435e-05/0.1125, allocations: 83.28 kB / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1125, allocations: 0 / 431.1 MB, free: 360 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001804/0.1127, allocations: 4 kB / 431.1 MB, free: 356 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: 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.0004471/0.1131, allocations: 0.6168 MB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.1132, allocations: 23.98 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1132, allocations: 0 / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.1132, allocations: 0 / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.1134, allocations: 22.38 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.1145, allocations: 1.147 MB / 432.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.1148, allocations: 0.6884 MB / 433.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.645e-05/0.1148, allocations: 3.984 kB / 433.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.1148, allocations: 19.38 kB / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1148, allocations: 0 / 433.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1382, allocations: 1.231 MB / 434.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.19, allocations: 11.73 kB / 434.8 MB, free: 12.57 MB / 366.1 MB " [Timeout remaining time 652] (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.000199561 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.789413295220584] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.257746881339699 8.434110915 8.160404159 Calling exit ...