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.SuperSample.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.001559/0.001559, allocations: 122.6 kB / 18.5 MB, free: 4.578 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.001526/0.001526, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.449/1.449, allocations: 230.5 MB / 254.8 MB, free: 15.28 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.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",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.001914/0.001914, allocations: 71.83 kB / 373.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0994/0.1013, allocations: 53.33 MB / 427 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003396/0.1047, allocations: 1.913 MB / 428.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1069, allocations: 1.243 MB / 430.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1071, allocations: 7.938 kB / 430.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.1077, allocations: 139.5 kB / 430.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004219/0.1081, allocations: 163.4 kB / 430.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005217/0.1086, allocations: 170.4 kB / 430.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.1089, allocations: 191.4 kB / 430.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.109, allocations: 25.53 kB / 430.8 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1091, allocations: 79.64 kB / 430.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1093, allocations: 79.61 kB / 431 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1093, allocations: 8 kB / 431 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1094, allocations: 59.95 kB / 431.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.734e-05/0.1095, allocations: 39.84 kB / 431.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.895e-05/0.1096, allocations: 75.48 kB / 431.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1099, allocations: 207.1 kB / 431.4 MB, free: 464 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1099, allocations: 8 kB / 431.4 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1099, allocations: 0 / 431.4 MB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1099, allocations: 0 / 431.4 MB, free: 456 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008148/0.1107, allocations: 0.5232 MB / 431.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1108, allocations: 12.02 kB / 431.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.1108, allocations: 34.75 kB / 432 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.1109, allocations: 20.8 kB / 432 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.1112, allocations: 279 kB / 432.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1112, allocations: 4.375 kB / 432.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1113, allocations: 11.94 kB / 432.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.1116, allocations: 142.7 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1116, allocations: 4 kB / 432.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.1116, allocations: 8 kB / 432.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1116, allocations: 0 / 432.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-05/0.1117, allocations: 35.91 kB / 432.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006252/0.1124, allocations: 362.4 kB / 432.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.1126, allocations: 107.8 kB / 432.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.1127, allocations: 42.56 kB / 432.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1127, allocations: 4 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.1129, allocations: 75.38 kB / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.1129, allocations: 0 / 433 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000354/0.1132, allocations: 145.4 kB / 433.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.1133, allocations: 132.8 kB / 433.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.1136, allocations: 280.9 kB / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.1136, allocations: 25.7 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.1137, allocations: 116.1 kB / 433.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1137, allocations: 19.89 kB / 433.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.1138, allocations: 33.67 kB / 433.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.114, allocations: 330.8 kB / 434.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.114, allocations: 19.98 kB / 434.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1141, allocations: 78 kB / 434.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.1143, allocations: 80.5 kB / 434.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1143, allocations: 0 / 434.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002139/0.1145, allocations: 113.5 kB / 434.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1145, allocations: 4 kB / 434.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1145, allocations: 4 kB / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1145, allocations: 0 / 434.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.1146, allocations: 15.94 kB / 434.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1146, allocations: 0 / 434.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.1e-05/0.1147, allocations: 19.98 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1147, allocations: 8 kB / 434.4 MB, free: 13.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001334/0.1148, allocations: 141.8 kB / 434.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.644e-05/0.1149, allocations: 65.5 kB / 434.6 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.115, allocations: 25.7 kB / 434.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.115, allocations: 4 kB / 434.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.115, allocations: 3.938 kB / 434.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.115, allocations: 3.938 kB / 434.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1152, allocations: 233.6 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1152, allocations: 0 / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.584e-05/0.1152, allocations: 4 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1152, allocations: 3.938 kB / 434.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1152, allocations: 4 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1152, allocations: 3.938 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1152, allocations: 3.984 kB / 434.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1155, allocations: 158.6 kB / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1156, allocations: 113 kB / 435.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1156, allocations: 11.98 kB / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.484e-05/0.1157, allocations: 0 / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.1157, allocations: 7.938 kB / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.1157, allocations: 11.98 kB / 435.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1159, allocations: 196.5 kB / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1159, allocations: 0 / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1162, allocations: 32 kB / 435.4 MB, free: 11.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001969/0.1182, allocations: 0.9998 MB / 436.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1184, allocations: 79.78 kB / 436.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1184, allocations: 0 / 436.5 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.1185, allocations: 16 kB / 436.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.1189, allocations: 70.95 kB / 436.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.1213, allocations: 1.945 MB / 438.5 MB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.1216, allocations: 0.728 MB / 439.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.209e-05/0.1217, allocations: 25.53 kB / 439.3 MB, free: 8.066 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/0.1218, allocations: 47.41 kB / 439.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1218, allocations: 4 kB / 439.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.1517, allocations: 4.672 MB / 444 MB, free: 3.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/8.245, allocations: 4.062 kB / 444 MB, free: 3.477 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.044106166809797] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'superSample1.y'] 8.371538767125458 8.636764438 8.523290698 Calling exit ...