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.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.0017/0.0017, allocations: 117.9 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.002071/0.002071, allocations: 214.5 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.455/1.455, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_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.001925/0.001925, allocations: 63.84 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1106, allocations: 53.33 MB / 427 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002975/0.1136, allocations: 1.441 MB / 428.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000202/0.1138, allocations: 31.91 kB / 428.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.1138, allocations: 0 / 428.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.1139, allocations: 7.875 kB / 428.5 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.946e-05/0.1139, allocations: 3.938 kB / 428.5 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.1142, allocations: 23.97 kB / 428.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.1143, allocations: 27.92 kB / 428.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.1144, allocations: 7.984 kB / 428.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.763e-05/0.1144, allocations: 11.94 kB / 428.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.942e-05/0.1145, allocations: 19.92 kB / 428.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1145, allocations: 4 kB / 428.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.1145, allocations: 0 / 428.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.1145, allocations: 11.98 kB / 428.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.1146, allocations: 7.938 kB / 428.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.734e-05/0.1147, allocations: 39.77 kB / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1147, allocations: 0 / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1147, allocations: 0 / 428.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1147, allocations: 0 / 428.6 MB, free: 3.188 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.0004532/0.1151, allocations: 339.5 kB / 429 MB, free: 2.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1152, allocations: 12.03 kB / 429 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.1152, allocations: 38.75 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.1152, allocations: 8.828 kB / 429 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1154, allocations: 176.3 kB / 429.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1155, allocations: 8.344 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1155, allocations: 12.31 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003471/0.1158, allocations: 119.8 kB / 429.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1158, allocations: 3.938 kB / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.1158, allocations: 0 / 429.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1158, allocations: 4 kB / 429.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.116, allocations: 23.91 kB / 429.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.1161, allocations: 157.7 kB / 429.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1163, allocations: 50.55 kB / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.1164, allocations: 28.92 kB / 429.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1164, allocations: 7.984 kB / 429.6 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1164, allocations: 30.56 kB / 429.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1164, allocations: 3.938 kB / 429.6 MB, free: 2.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002867/0.1167, allocations: 89.48 kB / 429.7 MB, free: 1.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1167, allocations: 55.41 kB / 429.8 MB, free: 1.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.1168, allocations: 109.8 kB / 429.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1169, allocations: 25.7 kB / 429.9 MB, free: 1.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.1169, allocations: 88.14 kB / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.1169, allocations: 0 / 430 MB, free: 1.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.1169, allocations: 17.72 kB / 430 MB, free: 1.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1171, allocations: 318.8 kB / 430.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.334e-05/0.1171, allocations: 4 kB / 430.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.527e-05/0.1171, allocations: 31.44 kB / 430.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.255e-05/0.1172, allocations: 39.38 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1172, allocations: 0 / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.174e-05/0.1173, allocations: 61.52 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1173, allocations: 11.94 kB / 430.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1173, allocations: 4.125 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1173, allocations: 4 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.1174, allocations: 7.984 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1174, allocations: 4 kB / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.874e-05/0.1174, allocations: 0 / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.1174, allocations: 8 kB / 430.5 MB, free: 1.059 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 8.617e-05/0.1175, allocations: 105.8 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.1177, allocations: 77.5 kB / 430.7 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.1177, allocations: 3.906 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1177, allocations: 4.234 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.1177, allocations: 7.984 kB / 430.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1177, allocations: 0 / 430.7 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1178, allocations: 161.6 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1178, allocations: 0 / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.1179, allocations: 11.98 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1179, allocations: 7.875 kB / 430.9 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1179, allocations: 4 kB / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1179, allocations: 0 / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1179, allocations: 0 / 430.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1181, allocations: 89.11 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.1181, allocations: 89.05 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.1182, allocations: 3.938 kB / 431.1 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.409e-05/0.1182, allocations: 8.312 kB / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.1182, allocations: 0 / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1182, allocations: 0 / 431.1 MB, free: 392 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.383e-05/0.1183, allocations: 91.27 kB / 431.2 MB, free: 300 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1183, allocations: 0 / 431.2 MB, free: 300 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.1184, allocations: 8 kB / 431.2 MB, free: 292 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.0006022/0.119, allocations: 0.6481 MB / 431.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.1192, allocations: 27.92 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1192, allocations: 0 / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1192, allocations: 4.312 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.1194, allocations: 24.02 kB / 431.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1205, allocations: 1.173 MB / 433 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1208, allocations: 0.6846 MB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.179e-05/0.1208, allocations: 4 kB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.1209, allocations: 15.42 kB / 433.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1209, allocations: 0 / 433.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.1441, allocations: 1.383 MB / 435.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.033, allocations: 11.78 kB / 435.1 MB, free: 12.3 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.643268899060786] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.099406729917973 8.289365883 7.997296994 Calling exit ...