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.001403/0.001403, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001568/0.001568, allocations: 216.2 kB / 22.92 MB, free: 5.195 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.286/1.286, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001753/0.001753, allocations: 75.83 kB / 376.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2287, allocations: 53.32 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002455/0.2311, allocations: 1.435 MB / 430.8 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001666/0.2313, allocations: 39.91 kB / 430.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.727e-05/0.2313, allocations: 0 / 430.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.2314, allocations: 3.938 kB / 430.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.2314, allocations: 0 / 430.9 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.2316, allocations: 27.91 kB / 430.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.506e-05/0.2317, allocations: 23.98 kB / 430.9 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.2318, allocations: 11.98 kB / 430.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.705e-05/0.2318, allocations: 11.92 kB / 431 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.056e-05/0.2319, allocations: 11.92 kB / 431 MB, free: 5.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.2319, allocations: 4 kB / 431 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.2319, allocations: 4 kB / 431 MB, free: 5.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.702e-05/0.2319, allocations: 8 kB / 431 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.2319, allocations: 19.81 kB / 431 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.822e-05/0.232, allocations: 35.67 kB / 431 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.232, allocations: 0 / 431 MB, free: 5.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.232, allocations: 4 kB / 431 MB, free: 5.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.232, allocations: 0 / 431 MB, free: 5.836 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.0004219/0.2325, allocations: 335 kB / 431.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2325, allocations: 8.031 kB / 431.4 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.2325, allocations: 38.75 kB / 431.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.205e-05/0.2326, allocations: 4.938 kB / 431.4 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2328, allocations: 181.2 kB / 431.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.2328, allocations: 4.375 kB / 431.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.094e-05/0.2328, allocations: 4.375 kB / 431.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.2331, allocations: 115.8 kB / 431.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2331, allocations: 3.938 kB / 431.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2331, allocations: 0 / 431.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2331, allocations: 8 kB / 431.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.959e-05/0.2332, allocations: 19.97 kB / 431.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.2333, allocations: 157.7 kB / 431.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2335, allocations: 42.55 kB / 431.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.914e-05/0.2335, allocations: 24.92 kB / 432 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.2336, allocations: 4 kB / 432 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.2336, allocations: 46.48 kB / 432 MB, free: 4.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2336, allocations: 0 / 432 MB, free: 4.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002382/0.2338, allocations: 73.56 kB / 432.1 MB, free: 4.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2339, allocations: 55.41 kB / 432.1 MB, free: 4.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.234, allocations: 109.8 kB / 432.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.234, allocations: 25.7 kB / 432.3 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.234, allocations: 88.08 kB / 432.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.234, allocations: 0 / 432.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.234, allocations: 25.7 kB / 432.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2342, allocations: 314.8 kB / 432.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.2342, allocations: 0 / 432.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.2342, allocations: 39.36 kB / 432.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/0.2342, allocations: 39.38 kB / 432.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2342, allocations: 0 / 432.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.078e-05/0.2343, allocations: 61.58 kB / 432.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2343, allocations: 11.94 kB / 432.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.2343, allocations: 0 / 432.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.2344, allocations: 0 / 432.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.2344, allocations: 4 kB / 432.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.2344, allocations: 4.125 kB / 432.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.685e-05/0.2344, allocations: 4 kB / 432.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2344, allocations: 4 kB / 432.9 MB, free: 3.758 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 7.461e-05/0.2345, allocations: 121.8 kB / 433 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.2346, allocations: 53.62 kB / 433 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.2347, allocations: 15.48 kB / 433 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-06/0.2347, allocations: 0 / 433 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.2347, allocations: 3.938 kB / 433 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2347, allocations: 0 / 433 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.509e-05/0.2348, allocations: 157.7 kB / 433.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2348, allocations: 0 / 433.2 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.2348, allocations: 7.984 kB / 433.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2348, allocations: 3.938 kB / 433.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.2348, allocations: 0 / 433.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2348, allocations: 0 / 433.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2348, allocations: 0 / 433.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.235, allocations: 93 kB / 433.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.011e-05/0.235, allocations: 81.05 kB / 433.4 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.235, allocations: 8.312 kB / 433.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.2351, allocations: 11.98 kB / 433.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-06/0.2351, allocations: 4 kB / 433.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2351, allocations: 0 / 433.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.2351, allocations: 79.28 kB / 433.5 MB, free: 3.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2351, allocations: 4 kB / 433.5 MB, free: 3.016 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001722/0.2353, allocations: 4 kB / 433.5 MB, free: 3.012 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.0005227/0.2358, allocations: 0.6514 MB / 434.1 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.2359, allocations: 24.31 kB / 434.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2359, allocations: 0 / 434.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-07/0.2359, allocations: 0 / 434.2 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.2361, allocations: 30.2 kB / 434.2 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009444/0.2371, allocations: 1.166 MB / 435.4 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.2373, allocations: 0.6846 MB / 436 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.359e-05/0.2374, allocations: 0 / 436 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.2374, allocations: 15.36 kB / 436.1 MB, free: 292 kB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2374, allocations: 4.094 kB / 436.1 MB, free: 288 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.2596, allocations: 1.279 MB / 437.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.932/7.191, allocations: 2.641 kB / 437.3 MB, free: 15.08 MB / 350.1 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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: 9.256989239998802]