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.001303/0.001303, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001419/0.001419, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.388/1.388, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.001877/0.001877, allocations: 64.77 kB / 378.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2564, allocations: 53.36 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00272/0.2591, allocations: 1.454 MB / 433.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000197/0.2593, allocations: 35.84 kB / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/0.2594, allocations: 0 / 433.4 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.2594, allocations: 3.938 kB / 433.4 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.683e-05/0.2595, allocations: 4 kB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2597, allocations: 15.98 kB / 433.4 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.194e-05/0.2598, allocations: 31.92 kB / 433.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2599, allocations: 15.97 kB / 433.5 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.26, allocations: 7.938 kB / 433.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.26, allocations: 15.92 kB / 433.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.26, allocations: 4 kB / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-06/0.26, allocations: 0 / 433.5 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.2601, allocations: 11.94 kB / 433.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.2601, allocations: 11.88 kB / 433.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.2602, allocations: 35.88 kB / 433.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2602, allocations: 0 / 433.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2602, allocations: 4 kB / 433.6 MB, free: 5.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2602, allocations: 0 / 433.6 MB, free: 5.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004314/0.2606, allocations: 260.5 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.2607, allocations: 16.02 kB / 433.8 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.346e-05/0.2607, allocations: 34.75 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2608, allocations: 4.938 kB / 433.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.261, allocations: 118.4 kB / 434 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.261, allocations: 8.375 kB / 434 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.261, allocations: 384 / 434 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.2613, allocations: 115.9 kB / 434.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2613, allocations: 3.938 kB / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.2613, allocations: 0 / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2613, allocations: 0 / 434.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.2614, allocations: 27.91 kB / 434.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.2616, allocations: 128.7 kB / 434.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2617, allocations: 50.56 kB / 434.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.2618, allocations: 24.92 kB / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2618, allocations: 0 / 434.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.2618, allocations: 30.56 kB / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2618, allocations: 0 / 434.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002554/0.2621, allocations: 85.48 kB / 434.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/0.2622, allocations: 59.41 kB / 434.5 MB, free: 4.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.468e-05/0.2622, allocations: 105.8 kB / 434.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.2623, allocations: 33.7 kB / 434.6 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.2623, allocations: 84.12 kB / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.178e-05/0.2623, allocations: 0 / 434.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.2624, allocations: 17.72 kB / 434.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2625, allocations: 314.8 kB / 435.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.2625, allocations: 8.25 kB / 435.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.2625, allocations: 35.44 kB / 435.1 MB, free: 3.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.2626, allocations: 39.36 kB / 435.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2626, allocations: 4 kB / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.541e-05/0.2627, allocations: 61.53 kB / 435.2 MB, free: 3.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2627, allocations: 11.94 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2627, allocations: 3.984 kB / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2627, allocations: 0 / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.191e-05/0.2628, allocations: 4 kB / 435.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2628, allocations: 7.938 kB / 435.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.735e-05/0.2628, allocations: 0 / 435.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2628, allocations: 4 kB / 435.2 MB, free: 3.367 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: 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.315e-05/0.2629, allocations: 114 kB / 435.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.263, allocations: 69.55 kB / 435.4 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.263, allocations: 3.688 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.263, allocations: 4 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.263, allocations: 0 / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.263, allocations: 0 / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.82e-05/0.2631, allocations: 128.7 kB / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2631, allocations: 0 / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.2632, allocations: 4 kB / 435.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2632, allocations: 3.938 kB / 435.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.2632, allocations: 4 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.2632, allocations: 4 kB / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2632, allocations: 0 / 435.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.2633, allocations: 97.17 kB / 435.6 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.2633, allocations: 3.984 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.2634, allocations: 7.938 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.468e-05/0.2634, allocations: 48 / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-06/0.2634, allocations: 3.984 kB / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2634, allocations: 4 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.831e-05/0.2635, allocations: 95.39 kB / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2635, allocations: 0 / 435.8 MB, free: 2.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.2636, allocations: 4 kB / 435.8 MB, free: 2.746 MB / 334.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.0005811/0.2642, allocations: 0.6397 MB / 436.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.2643, allocations: 31.98 kB / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2643, allocations: 0 / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.2643, allocations: 0 / 436.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.2646, allocations: 25.61 kB / 436.5 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2657, allocations: 1.166 MB / 437.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.266, allocations: 0.6846 MB / 438.3 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.266, allocations: 0 / 438.3 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.266, allocations: 11.44 kB / 438.3 MB, free: 32 kB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.266, allocations: 0 / 438.3 MB, free: 32 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02317/0.2892, allocations: 1.318 MB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/7.823, allocations: 11.38 kB / 439.7 MB, free: 14.8 MB / 350.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.099763735197484] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.890852894168347 7.91316159 7.648749655 Calling exit ...