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.001279/0.001279, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001506/0.001506, allocations: 213.6 kB / 24.54 MB, free: 4.02 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.363/1.363, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001916/0.001916, allocations: 64.77 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2558, allocations: 53.38 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002692/0.2585, allocations: 1.445 MB / 433.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000296/0.2588, allocations: 107.6 kB / 433.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.2589, allocations: 0 / 433.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.225e-05/0.2589, allocations: 7.938 kB / 433.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.528e-05/0.259, allocations: 7.922 kB / 433.5 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.2592, allocations: 18.98 kB / 433.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.2593, allocations: 23.92 kB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2594, allocations: 15.92 kB / 433.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.138e-05/0.2594, allocations: 8 kB / 433.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.335e-05/0.2595, allocations: 7.938 kB / 433.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.2595, allocations: 0 / 433.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2595, allocations: 4 kB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.2595, allocations: 11.92 kB / 433.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.2596, allocations: 15.94 kB / 433.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.386e-05/0.2597, allocations: 31.69 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.2597, allocations: 0 / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2597, allocations: 0 / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2597, allocations: 0 / 433.6 MB, free: 5.195 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.0004099/0.2601, allocations: 259.3 kB / 433.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2601, allocations: 8.031 kB / 433.9 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.714e-05/0.2602, allocations: 34.69 kB / 433.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.607e-05/0.2602, allocations: 12.91 kB / 433.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2604, allocations: 122.4 kB / 434 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.2604, allocations: 4.375 kB / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2604, allocations: 384 / 434.1 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.2607, allocations: 99.88 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2607, allocations: 3.938 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.2607, allocations: 4 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2607, allocations: 4 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.101e-05/0.2608, allocations: 15.98 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/0.2609, allocations: 124.8 kB / 434.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2611, allocations: 50.48 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.2611, allocations: 16.89 kB / 434.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.2611, allocations: 0 / 434.4 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.2612, allocations: 38.56 kB / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.2612, allocations: 0 / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001964/0.2614, allocations: 73.55 kB / 434.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.2614, allocations: 51.41 kB / 434.5 MB, free: 4.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/0.2615, allocations: 113.7 kB / 434.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2615, allocations: 25.7 kB / 434.7 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.2616, allocations: 88.12 kB / 434.7 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-06/0.2616, allocations: 4 kB / 434.8 MB, free: 3.891 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.2616, allocations: 13.72 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2617, allocations: 322.8 kB / 435.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.2617, allocations: 0 / 435.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.793e-05/0.2618, allocations: 27.69 kB / 435.1 MB, free: 3.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.2618, allocations: 35.38 kB / 435.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.2618, allocations: 4 kB / 435.1 MB, free: 3.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.733e-05/0.2619, allocations: 57.62 kB / 435.2 MB, free: 3.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.2619, allocations: 7.938 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2619, allocations: 4 kB / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2619, allocations: 0 / 435.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.122e-05/0.262, allocations: 16.05 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.262, allocations: 0 / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.262, allocations: 0 / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.262, allocations: 4 kB / 435.2 MB, free: 3.363 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: 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 8.212e-05/0.2621, allocations: 113.8 kB / 435.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.2622, allocations: 53.86 kB / 435.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.2622, allocations: 11.69 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2622, allocations: 4.031 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2622, allocations: 3.938 kB / 435.4 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2622, allocations: 4 kB / 435.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.222e-05/0.2623, allocations: 124.7 kB / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2623, allocations: 0 / 435.5 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.2623, allocations: 8 kB / 435.6 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2623, allocations: 3.938 kB / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2623, allocations: 0 / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.2623, allocations: 0 / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2623, allocations: 0 / 435.6 MB, free: 2.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2625, allocations: 81.11 kB / 435.6 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.044e-05/0.2625, allocations: 7.953 kB / 435.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.2625, allocations: 3.938 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.757e-05/0.2625, allocations: 0 / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.2625, allocations: 3.938 kB / 435.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2625, allocations: 4 kB / 435.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.2625, allocations: 87.28 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2625, allocations: 0 / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001761/0.2627, allocations: 7.938 kB / 435.7 MB, free: 2.77 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: 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.0004261/0.2631, allocations: 0.624 MB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2633, allocations: 23.92 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2633, allocations: 0 / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.2633, allocations: 0 / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.2635, allocations: 25.73 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009767/0.2644, allocations: 1.15 MB / 437.6 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.2647, allocations: 0.6768 MB / 438.2 MB, free: 116 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.619e-05/0.2647, allocations: 8 kB / 438.3 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.2648, allocations: 7.438 kB / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2648, allocations: 0 / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.2858, allocations: 1.238 MB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.454/7.74, allocations: 7.875 kB / 439.5 MB, free: 14.95 MB / 350.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.12212092615664] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.807399379089475 7.833600714 7.569216111 Calling exit ...