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.001755/0.001755, 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.002312/0.002312, allocations: 213.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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.002915/0.002915, allocations: 72.75 kB / 378.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2947, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002751/0.2975, allocations: 1.521 MB / 433.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.2979, allocations: 139.5 kB / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.2979, allocations: 0 / 433.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.298, allocations: 3.938 kB / 433.6 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2981, allocations: 3.938 kB / 433.6 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2983, allocations: 39.89 kB / 433.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.499e-05/0.2984, allocations: 27.92 kB / 433.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.612e-05/0.2985, allocations: 11.98 kB / 433.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.2985, allocations: 11.94 kB / 433.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.597e-05/0.2985, allocations: 7.922 kB / 433.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.2985, allocations: 11.94 kB / 433.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.2986, allocations: 4 kB / 433.7 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.2986, allocations: 4 kB / 433.7 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.2986, allocations: 23.8 kB / 433.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.2987, allocations: 43.62 kB / 433.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2987, allocations: 0 / 433.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2987, allocations: 0 / 433.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2988, allocations: 0 / 433.8 MB, free: 5.062 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004839/0.2992, allocations: 287 kB / 434 MB, free: 4.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.2993, allocations: 12.03 kB / 434.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.2993, allocations: 38.73 kB / 434.1 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.2993, allocations: 8.891 kB / 434.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.2996, allocations: 130.4 kB / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.2996, allocations: 384 / 434.2 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.2996, allocations: 4.375 kB / 434.2 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.2998, allocations: 89.62 kB / 434.3 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2998, allocations: 7.922 kB / 434.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2999, allocations: 0 / 434.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2999, allocations: 0 / 434.3 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.2999, allocations: 15.94 kB / 434.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.3002, allocations: 228.8 kB / 434.6 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/0.3003, allocations: 49.14 kB / 434.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.3003, allocations: 17.72 kB / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.3004, allocations: 0 / 434.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.3004, allocations: 34.56 kB / 434.7 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.3004, allocations: 0 / 434.7 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.3006, allocations: 65.58 kB / 434.7 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.3007, allocations: 81.09 kB / 434.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3008, allocations: 125.8 kB / 434.9 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.3008, allocations: 33.64 kB / 435 MB, free: 3.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.3009, allocations: 84.14 kB / 435 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3009, allocations: 3.953 kB / 435.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.3009, allocations: 17.72 kB / 435.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3011, allocations: 319.1 kB / 435.4 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.698e-05/0.3011, allocations: 4 kB / 435.4 MB, free: 3.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.996e-05/0.3011, allocations: 17.72 kB / 435.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.3012, allocations: 25.64 kB / 435.4 MB, free: 3.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3012, allocations: 3.938 kB / 435.4 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.806e-05/0.3013, allocations: 53.75 kB / 435.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3013, allocations: 7.938 kB / 435.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3013, allocations: 4 kB / 435.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3013, allocations: 0 / 435.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.1e-05/0.3013, allocations: 0 / 435.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3013, allocations: 0 / 435.5 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.3013, allocations: 4 kB / 435.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.3013, allocations: 0 / 435.5 MB, free: 3.09 MB / 334.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 9.877e-05/0.3014, allocations: 125.8 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.3015, allocations: 41.66 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.3015, allocations: 7.422 kB / 435.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.3015, allocations: 0 / 435.7 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3015, allocations: 4 kB / 435.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3015, allocations: 0 / 435.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.3017, allocations: 140.7 kB / 435.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.3017, allocations: 0 / 435.8 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-06/0.3017, allocations: 3.938 kB / 435.8 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3017, allocations: 4 kB / 435.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.3017, allocations: 4.031 kB / 435.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3017, allocations: 0 / 435.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3017, allocations: 0 / 435.8 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.3019, allocations: 152.3 kB / 436 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.3019, allocations: 19.92 kB / 436 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3019, allocations: 7.922 kB / 436 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.302, allocations: 8.031 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.302, allocations: 0 / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.302, allocations: 0 / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.591e-05/0.302, allocations: 117.9 kB / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.302, allocations: 0 / 436.1 MB, free: 2.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.3023, allocations: 4 kB / 436.1 MB, free: 2.383 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: 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.0004657/0.3027, allocations: 0.682 MB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3028, allocations: 19.92 kB / 436.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3028, allocations: 0 / 436.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.3028, allocations: 8 kB / 436.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3031, allocations: 12.02 kB / 436.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.3043, allocations: 1.253 MB / 438.1 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3046, allocations: 0.6807 MB / 438.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.736e-05/0.3047, allocations: 4 kB / 438.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.3047, allocations: 15.42 kB / 438.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3047, allocations: 4.031 kB / 438.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3284, allocations: 1.361 MB / 440.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.916, allocations: 10.64 kB / 440.2 MB, free: 14.29 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.266187376808375] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 7.988279687706381 8.01103163 7.707857956 Calling exit ...