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.TimeBasedPulse.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.001699/0.001699, 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.001373/0.001373, allocations: 211.9 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.353/1.353, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.001867/0.001867, allocations: 72.75 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2778, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002691/0.2804, allocations: 1.503 MB / 433.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008589/0.2813, allocations: 0.4909 MB / 433.9 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.896e-05/0.2814, allocations: 3.938 kB / 433.9 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.2814, allocations: 3.938 kB / 433.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.2816, allocations: 19.91 kB / 433.9 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.2817, allocations: 31.91 kB / 434 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.2818, allocations: 55.78 kB / 434 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.502e-05/0.2819, allocations: 8 kB / 434 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.575e-05/0.282, allocations: 27.86 kB / 434.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.2821, allocations: 27.91 kB / 434.1 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.2821, allocations: 4 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.258e-05/0.2821, allocations: 4 kB / 434.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.191e-05/0.2821, allocations: 11.92 kB / 434.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.2822, allocations: 19.94 kB / 434.1 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2823, allocations: 51.59 kB / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2823, allocations: 0 / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2823, allocations: 0 / 434.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.2823, allocations: 0 / 434.2 MB, free: 4.613 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.0005419/0.2828, allocations: 303.2 kB / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2829, allocations: 12.03 kB / 434.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.2829, allocations: 34.75 kB / 434.5 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.2829, allocations: 8.891 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.2831, allocations: 126.4 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2832, allocations: 8.375 kB / 434.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2832, allocations: 4.375 kB / 434.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.2835, allocations: 143.3 kB / 434.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2835, allocations: 0 / 434.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.2835, allocations: 4 kB / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2835, allocations: 0 / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.2837, allocations: 31.92 kB / 434.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.2838, allocations: 132.7 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.284, allocations: 58.55 kB / 435 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.056e-05/0.284, allocations: 32.84 kB / 435.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2841, allocations: 7.984 kB / 435.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2841, allocations: 42.44 kB / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2841, allocations: 0 / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002513/0.2843, allocations: 85.62 kB / 435.2 MB, free: 3.461 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.2844, allocations: 59.34 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/0.2845, allocations: 109.8 kB / 435.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.2845, allocations: 25.7 kB / 435.4 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.2846, allocations: 88.14 kB / 435.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.2846, allocations: 7.984 kB / 435.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.2846, allocations: 17.72 kB / 435.5 MB, free: 3.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2847, allocations: 310.8 kB / 435.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.2848, allocations: 15.98 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.2848, allocations: 45.14 kB / 435.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.2849, allocations: 57.09 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2849, allocations: 0 / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001157/0.285, allocations: 89.44 kB / 436 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.285, allocations: 4 kB / 436 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.285, allocations: 4 kB / 436 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.285, allocations: 3.938 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.2851, allocations: 8 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2851, allocations: 0 / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.423e-05/0.2851, allocations: 7.938 kB / 436 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2851, allocations: 0 / 436 MB, free: 2.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.586e-05/0.2852, allocations: 118 kB / 436.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2853, allocations: 81.5 kB / 436.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.2854, allocations: 8.375 kB / 436.2 MB, free: 2.312 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2854, allocations: 4 kB / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2854, allocations: 0 / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2854, allocations: 0 / 436.2 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.2855, allocations: 132.7 kB / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2855, allocations: 0 / 436.4 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.541e-05/0.2855, allocations: 16.19 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2855, allocations: 0 / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2855, allocations: 8 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2855, allocations: 4 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2855, allocations: 0 / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2857, allocations: 101 kB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.119e-05/0.2857, allocations: 3.938 kB / 436.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.2857, allocations: 7.984 kB / 436.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.2858, allocations: 19.98 kB / 436.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.2858, allocations: 0 / 436.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.2858, allocations: 4 kB / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.52e-05/0.2859, allocations: 87.27 kB / 436.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2859, allocations: 3.938 kB / 436.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001883/0.2861, allocations: 8 kB / 436.6 MB, free: 1.859 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005405/0.2866, allocations: 0.6592 MB / 437.3 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.2867, allocations: 39.91 kB / 437.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2867, allocations: 4 kB / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.2867, allocations: 0 / 437.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.2871, allocations: 33.16 kB / 437.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2882, allocations: 1.246 MB / 438.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.2885, allocations: 0.6885 MB / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.919e-05/0.2885, allocations: 0 / 439.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.2886, allocations: 15.44 kB / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2886, allocations: 0 / 439.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.3119, allocations: 1.707 MB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.857, allocations: 4.062 kB / 441 MB, free: 13.4 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_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_TimeBasedPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.134916319977492] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.921886926051229 7.937582305 7.652013294 Calling exit ...