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.Sample1.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.001661/0.001661, allocations: 110.5 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.001935/0.001935, allocations: 213.2 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.365/1.365, 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.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",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.00189/0.00189, allocations: 68.77 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.259, allocations: 53.38 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002793/0.2618, allocations: 1.53 MB / 433.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003784/0.2622, allocations: 143.5 kB / 433.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.2623, allocations: 0 / 433.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.28e-05/0.2623, allocations: 3.938 kB / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.2624, allocations: 11.92 kB / 433.6 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.2626, allocations: 39.84 kB / 433.6 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.2627, allocations: 31.92 kB / 433.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.2628, allocations: 15.92 kB / 433.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.2629, allocations: 7.938 kB / 433.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.652e-05/0.2629, allocations: 19.92 kB / 433.7 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2629, allocations: 4 kB / 433.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.2629, allocations: 0 / 433.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.263, allocations: 15.92 kB / 433.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.263, allocations: 27.86 kB / 433.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.2631, allocations: 44.55 kB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2631, allocations: 0 / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2631, allocations: 4 kB / 433.8 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2632, allocations: 0 / 433.8 MB, free: 4.984 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004284/0.2636, allocations: 298.1 kB / 434.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.2636, allocations: 8.031 kB / 434.1 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.2637, allocations: 42.67 kB / 434.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.2637, allocations: 8.891 kB / 434.2 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.2639, allocations: 134.4 kB / 434.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2639, allocations: 8.375 kB / 434.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2639, allocations: 4.359 kB / 434.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2642, allocations: 117.6 kB / 434.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.2642, allocations: 7.938 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.2642, allocations: 0 / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2642, allocations: 0 / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.2643, allocations: 23.92 kB / 434.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.2646, allocations: 240.8 kB / 434.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.2647, allocations: 57.08 kB / 434.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.2648, allocations: 29.77 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2648, allocations: 4 kB / 434.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2649, allocations: 38.56 kB / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2649, allocations: 0 / 434.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002281/0.2651, allocations: 73.56 kB / 434.9 MB, free: 3.742 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.2652, allocations: 81.11 kB / 435 MB, free: 3.645 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.2653, allocations: 136.9 kB / 435.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2653, allocations: 29.83 kB / 435.1 MB, free: 3.465 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.2653, allocations: 88.14 kB / 435.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.2653, allocations: 3.953 kB / 435.2 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2654, allocations: 17.72 kB / 435.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2655, allocations: 322.8 kB / 435.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.452e-05/0.2655, allocations: 4 kB / 435.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.803e-05/0.2656, allocations: 39.36 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.2657, allocations: 47.36 kB / 435.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2657, allocations: 3.938 kB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000117/0.2658, allocations: 65.62 kB / 435.7 MB, free: 2.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2658, allocations: 7.984 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2658, allocations: 0 / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2658, allocations: 4 kB / 435.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.2659, allocations: 4 kB / 435.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2659, allocations: 4 kB / 435.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.2659, allocations: 3.953 kB / 435.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2659, allocations: 4 kB / 435.7 MB, free: 2.809 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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.548e-05/0.266, allocations: 133.8 kB / 435.9 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.2661, allocations: 45.69 kB / 435.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.2661, allocations: 12.34 kB / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2661, allocations: 0 / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2661, allocations: 0 / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2661, allocations: 336 / 435.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.2663, allocations: 148.6 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2663, allocations: 0 / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.2663, allocations: 11.94 kB / 436.1 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2664, allocations: 3.984 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.2664, allocations: 7.984 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2664, allocations: 4 kB / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2664, allocations: 0 / 436.1 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.2665, allocations: 164.3 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.2666, allocations: 15.95 kB / 436.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.2666, allocations: 4 kB / 436.3 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.2666, allocations: 7.984 kB / 436.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.2667, allocations: 4 kB / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.2667, allocations: 0 / 436.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.563e-05/0.2667, allocations: 107.2 kB / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2667, allocations: 0 / 436.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.267, allocations: 4 kB / 436.4 MB, free: 2.062 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004551/0.2674, allocations: 0.7054 MB / 437.1 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.2675, allocations: 31.92 kB / 437.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2675, allocations: 0 / 437.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.2676, allocations: 4 kB / 437.1 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.2679, allocations: 24.33 kB / 437.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.2691, allocations: 1.33 MB / 438.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.2694, allocations: 0.6846 MB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.488e-05/0.2694, allocations: 3.984 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.2694, allocations: 15.44 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2694, allocations: 0 / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.291, allocations: 1.484 MB / 440.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.918, allocations: 15.02 kB / 440.7 MB, free: 13.7 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.99122e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.268330776132643] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 7.986594974994659 8.001065672 7.734916367 Calling exit ...