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.SampleClocked.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.00157/0.001576, allocations: 121.4 kB / 18.45 MB, free: 4.59 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.001835/0.001835, allocations: 210.5 kB / 21.41 MB, free: 1.641 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.461/1.461, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001866/0.001866, allocations: 67.84 kB / 365.2 MB, free: 236 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.09179, allocations: 50.55 MB / 415.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.0026/0.09443, allocations: 1.494 MB / 417.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003582/0.09481, allocations: 131.5 kB / 417.4 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.781e-05/0.09489, allocations: 7.938 kB / 417.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.09494, allocations: 0 / 417.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.921e-05/0.09505, allocations: 7.938 kB / 417.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.09526, allocations: 43.83 kB / 417.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.53e-05/0.09535, allocations: 23.98 kB / 417.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.09543, allocations: 4 kB / 417.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.885e-05/0.09547, allocations: 19.86 kB / 417.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.292e-05/0.09551, allocations: 15.92 kB / 417.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.09553, allocations: 4 kB / 417.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.466e-06/0.09554, allocations: 0 / 417.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.765e-05/0.09558, allocations: 7.938 kB / 417.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.09562, allocations: 23.86 kB / 417.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.521e-05/0.09572, allocations: 39.77 kB / 417.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.09573, allocations: 0 / 417.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09574, allocations: 3.938 kB / 417.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.09575, allocations: 0 / 417.6 MB, free: 11.81 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004204/0.09617, allocations: 363.2 kB / 417.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.09621, allocations: 8.031 kB / 418 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.09625, allocations: 34.75 kB / 418 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.09628, allocations: 8.891 kB / 418 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.09651, allocations: 194.3 kB / 418.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.09654, allocations: 8.297 kB / 418.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.09656, allocations: 8.375 kB / 418.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.09675, allocations: 85.67 kB / 418.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.09679, allocations: 3.938 kB / 418.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.09681, allocations: 3.938 kB / 418.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.09681, allocations: 0 / 418.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.09687, allocations: 12 kB / 418.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.09719, allocations: 257.8 kB / 418.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.09728, allocations: 45.09 kB / 418.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.826e-05/0.09733, allocations: 17.77 kB / 418.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.09735, allocations: 0 / 418.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.09738, allocations: 34.56 kB / 418.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.09739, allocations: 4 kB / 418.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001879/0.09758, allocations: 61.58 kB / 418.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.09765, allocations: 77.11 kB / 418.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.09777, allocations: 129.8 kB / 418.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.09779, allocations: 29.64 kB / 418.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.09784, allocations: 80.14 kB / 419 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.09786, allocations: 8.203 kB / 419 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.0979, allocations: 25.7 kB / 419.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.09803, allocations: 310.8 kB / 419.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.09807, allocations: 8 kB / 419.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.513e-05/0.09811, allocations: 17.7 kB / 419.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.202e-05/0.09816, allocations: 25.78 kB / 419.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.09817, allocations: 3.938 kB / 419.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.868e-05/0.09827, allocations: 45.62 kB / 419.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.09829, allocations: 4 kB / 419.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.0983, allocations: 0 / 419.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.09831, allocations: 0 / 419.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.158e-05/0.09833, allocations: 4 kB / 419.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.09834, allocations: 0 / 419.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.09837, allocations: 3.938 kB / 419.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.09838, allocations: 7.984 kB / 419.5 MB, free: 9.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.487e-05/0.09847, allocations: 121.8 kB / 419.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/0.09854, allocations: 41.59 kB / 419.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.09857, allocations: 15.45 kB / 419.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.09858, allocations: 0 / 419.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.09859, allocations: 0 / 419.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.0986, allocations: 4 kB / 419.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.09878, allocations: 169.6 kB / 419.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09878, allocations: 0 / 419.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.09879, allocations: 4.016 kB / 419.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.0988, allocations: 4 kB / 419.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.09881, allocations: 0 / 419.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.09882, allocations: 4 kB / 419.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.09882, allocations: 0 / 419.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.09897, allocations: 152.2 kB / 420 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.09905, allocations: 96.98 kB / 420.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.09907, allocations: 8.031 kB / 420.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.09913, allocations: 0 / 420.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.09916, allocations: 0 / 420.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.09917, allocations: 4 kB / 420.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.864e-05/0.09924, allocations: 105.6 kB / 420.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09924, allocations: 0 / 420.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.09946, allocations: 4 kB / 420.2 MB, free: 8.812 MB / 350.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: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004711/0.09993, allocations: 0.6898 MB / 420.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1001, allocations: 15.98 kB / 420.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1001, allocations: 0 / 420.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.1001, allocations: 8 kB / 420.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.1004, allocations: 14.53 kB / 420.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1016, allocations: 1.26 MB / 422.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.102, allocations: 0.6846 MB / 422.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.002e-05/0.102, allocations: 4.031 kB / 422.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.102, allocations: 15.44 kB / 422.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.102, allocations: 3.938 kB / 422.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.123, allocations: 1.363 MB / 424.3 MB, free: 4.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8, allocations: 14.48 kB / 424.3 MB, free: 4.738 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_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_BooleanSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.467343800934032] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.064062442048453 8.078914425 7.980393465 Calling exit ...