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.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.00173/0.00173, 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.002158/0.002158, 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.375/1.375, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_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.001865/0.001865, allocations: 72.55 kB / 378.5 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.265, allocations: 53.37 MB / 431.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002769/0.2677, allocations: 1.525 MB / 433.4 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003958/0.2681, allocations: 143.5 kB / 433.6 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.2682, allocations: 3.938 kB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.2682, allocations: 3.938 kB / 433.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.2684, allocations: 7.938 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.2686, allocations: 39.89 kB / 433.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2687, allocations: 35.86 kB / 433.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.435e-05/0.2688, allocations: 12 kB / 433.7 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.2688, allocations: 19.86 kB / 433.7 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.02e-05/0.2689, allocations: 11.94 kB / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2689, allocations: 0 / 433.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2689, allocations: 4 kB / 433.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.2689, allocations: 19.91 kB / 433.7 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.269, allocations: 15.88 kB / 433.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2691, allocations: 43.62 kB / 433.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2691, allocations: 3.938 kB / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2691, allocations: 0 / 433.8 MB, free: 4.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2691, allocations: 0 / 433.8 MB, free: 4.969 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.000423/0.2695, allocations: 299 kB / 434.1 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2696, allocations: 8.031 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.048e-05/0.2696, allocations: 38.73 kB / 434.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.2697, allocations: 8.891 kB / 434.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.2699, allocations: 134.5 kB / 434.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2699, allocations: 384 / 434.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2699, allocations: 8.359 kB / 434.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.2702, allocations: 117.5 kB / 434.4 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2702, allocations: 3.938 kB / 434.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.2702, allocations: 4 kB / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2702, allocations: 0 / 434.4 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.781e-05/0.2703, allocations: 15.98 kB / 434.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003037/0.2706, allocations: 236.8 kB / 434.7 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.2707, allocations: 65.08 kB / 434.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.433e-05/0.2708, allocations: 25.77 kB / 434.7 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2708, allocations: 4 kB / 434.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2708, allocations: 38.5 kB / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.2708, allocations: 0 / 434.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002178/0.271, allocations: 65.62 kB / 434.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.2711, allocations: 85.05 kB / 434.9 MB, free: 3.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2712, allocations: 129.8 kB / 435.1 MB, free: 3.516 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.2712, allocations: 29.83 kB / 435.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.2713, allocations: 88.14 kB / 435.2 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.2713, allocations: 3.938 kB / 435.2 MB, free: 3.387 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.2713, allocations: 21.7 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2715, allocations: 310.8 kB / 435.5 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.119e-05/0.2715, allocations: 11.94 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.469e-05/0.2715, allocations: 35.42 kB / 435.6 MB, free: 2.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.2716, allocations: 39.36 kB / 435.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2716, allocations: 7.938 kB / 435.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/0.2717, allocations: 65.64 kB / 435.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2717, allocations: 8 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2717, allocations: 0 / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.2718, allocations: 0 / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.34e-05/0.2718, allocations: 7.938 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.2718, allocations: 0 / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.2718, allocations: 4 kB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.2718, allocations: 0 / 435.7 MB, free: 2.84 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 0.0001007/0.2719, allocations: 125.8 kB / 435.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.272, allocations: 45.72 kB / 435.9 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.272, allocations: 15.98 kB / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.272, allocations: 0 / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.272, allocations: 0 / 435.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.272, allocations: 4.328 kB / 435.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.2722, allocations: 140.7 kB / 436 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2722, allocations: 3.938 kB / 436 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.762e-06/0.2722, allocations: 0 / 436 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.2722, allocations: 4 kB / 436 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.2722, allocations: 3.984 kB / 436 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2722, allocations: 0 / 436 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2722, allocations: 4 kB / 436 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.2724, allocations: 164.3 kB / 436.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.2724, allocations: 15.95 kB / 436.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.2724, allocations: 0 / 436.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.244e-05/0.2725, allocations: 3.984 kB / 436.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.2725, allocations: 4 kB / 436.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-06/0.2725, allocations: 11.94 kB / 436.2 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.342e-05/0.2726, allocations: 101.8 kB / 436.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2726, allocations: 0 / 436.3 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002122/0.2728, allocations: 11.94 kB / 436.3 MB, free: 2.109 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.0004699/0.2733, allocations: 0.6976 MB / 437 MB, free: 1.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.2734, allocations: 27.92 kB / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2734, allocations: 0 / 437.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.2734, allocations: 4 kB / 437.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2738, allocations: 29.39 kB / 437.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.275, allocations: 1.295 MB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.2753, allocations: 0.6924 MB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.902e-05/0.2753, allocations: 0 / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.2753, allocations: 23.42 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2753, allocations: 0 / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.299, allocations: 1.469 MB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.058, allocations: 14.08 kB / 440.6 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.36478477390483] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock.y', 'sample1.y'] 8.123512682970613 8.139341382 7.867208698 Calling exit ...