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.Hold.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.001279/0.001279, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001368/0.001368, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.481/1.481, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",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.001964/0.001964, allocations: 67.84 kB / 373.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09787, allocations: 53.33 MB / 427 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003586/0.1015, allocations: 1.924 MB / 428.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.1036, allocations: 1.235 MB / 430.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.1037, allocations: 7.938 kB / 430.2 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005956/0.1043, allocations: 151.5 kB / 430.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004087/0.1047, allocations: 159.4 kB / 430.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.1052, allocations: 170.4 kB / 430.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.1055, allocations: 199.4 kB / 430.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1056, allocations: 17.69 kB / 430.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.1057, allocations: 87.61 kB / 430.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1059, allocations: 87.55 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.1059, allocations: 8 kB / 431 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.106, allocations: 59.97 kB / 431.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.1061, allocations: 47.83 kB / 431.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.752e-05/0.1062, allocations: 71.48 kB / 431.2 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.1065, allocations: 223 kB / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1065, allocations: 0 / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1065, allocations: 0 / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1065, allocations: 0 / 431.4 MB, free: 400 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008603/0.1074, allocations: 0.5271 MB / 432 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1074, allocations: 12.03 kB / 432 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.1075, allocations: 38.69 kB / 432 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.1075, allocations: 28.8 kB / 432 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1079, allocations: 275 kB / 432.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.1079, allocations: 12.3 kB / 432.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.1079, allocations: 15.88 kB / 432.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003869/0.1083, allocations: 177.6 kB / 432.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1083, allocations: 0 / 432.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1084, allocations: 0 / 432.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1084, allocations: 0 / 432.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1085, allocations: 43.91 kB / 432.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.1091, allocations: 450.6 kB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.1093, allocations: 126.5 kB / 433.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.1094, allocations: 55.42 kB / 433.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1095, allocations: 0 / 433.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.1097, allocations: 97.03 kB / 433.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1097, allocations: 0 / 433.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003977/0.11, allocations: 153.5 kB / 433.4 MB, free: 14.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.1102, allocations: 166.1 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/0.1105, allocations: 280.9 kB / 433.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1105, allocations: 30.08 kB / 433.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.1106, allocations: 124.4 kB / 434 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.1106, allocations: 27.89 kB / 434 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.497e-05/0.1107, allocations: 29.67 kB / 434 MB, free: 13.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1108, allocations: 334.8 kB / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.1109, allocations: 23.98 kB / 434.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.111, allocations: 78.86 kB / 434.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1112, allocations: 89.02 kB / 434.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1112, allocations: 4.031 kB / 434.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002341/0.1114, allocations: 121.5 kB / 434.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.1114, allocations: 8 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1114, allocations: 0 / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1114, allocations: 4 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.1115, allocations: 11.98 kB / 434.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1115, allocations: 4.312 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.1116, allocations: 15.89 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1116, allocations: 12.16 kB / 434.7 MB, free: 12.69 MB / 366.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: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.000139/0.1118, allocations: 150.3 kB / 434.9 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.1119, allocations: 73.48 kB / 435 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.512e-05/0.1119, allocations: 29.64 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1119, allocations: 4 kB / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1119, allocations: 0 / 435 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1119, allocations: 3.938 kB / 435 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.1122, allocations: 225.6 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1122, allocations: 8 kB / 435.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.017e-05/0.1122, allocations: 8 kB / 435.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1122, allocations: 3.984 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1122, allocations: 7.938 kB / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1122, allocations: 0 / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1122, allocations: 0 / 435.2 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.1125, allocations: 179.4 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.852e-05/0.1126, allocations: 108.9 kB / 435.5 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1126, allocations: 8 kB / 435.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.1127, allocations: 7.984 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.1127, allocations: 7.938 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1127, allocations: 4 kB / 435.6 MB, free: 11.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.1129, allocations: 204.4 kB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1129, allocations: 4 kB / 435.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1132, allocations: 35.94 kB / 435.8 MB, free: 11.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001992/0.1152, allocations: 1.019 MB / 436.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1154, allocations: 79.78 kB / 436.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1154, allocations: 0 / 436.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.1155, allocations: 27.98 kB / 436.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.116, allocations: 82.75 kB / 437 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.1183, allocations: 2.018 MB / 439 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1187, allocations: 0.7474 MB / 439.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.262e-05/0.1188, allocations: 25.53 kB / 439.8 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.1189, allocations: 51.42 kB / 439.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1189, allocations: 0 / 439.8 MB, free: 7.445 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.1472, allocations: 4.843 MB / 444.7 MB, free: 2.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.273, allocations: 11.86 kB / 444.7 MB, free: 2.723 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.964868693612516] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'shiftSample1.y', 'hold1.y'] 8.397198839113116 8.589510506 8.480700872 Calling exit ...