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.001825/0.001825, allocations: 121.2 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.002246/0.002246, 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.488/1.488, allocations: 230.5 MB / 254.8 MB, free: 14.95 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.002706/0.002706, allocations: 67.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.102, allocations: 53.32 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002742/0.1047, allocations: 1.502 MB / 428.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.1051, allocations: 139.5 kB / 428.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.1051, allocations: 3.938 kB / 428.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.99e-05/0.1052, allocations: 0 / 428.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.1053, allocations: 15.91 kB / 428.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.1055, allocations: 31.86 kB / 428.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.141e-05/0.1056, allocations: 27.97 kB / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.477e-05/0.1057, allocations: 8 kB / 428.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.1057, allocations: 15.86 kB / 428.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.85e-05/0.1058, allocations: 11.94 kB / 428.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.1058, allocations: 4 kB / 428.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.1058, allocations: 7.938 kB / 428.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.1058, allocations: 15.92 kB / 428.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.1059, allocations: 15.88 kB / 428.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.106, allocations: 43.75 kB / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.106, allocations: 0 / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.106, allocations: 0 / 428.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.106, allocations: 0 / 428.8 MB, free: 2.934 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.0004768/0.1065, allocations: 351.2 kB / 429.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1065, allocations: 19.97 kB / 429.2 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.841e-05/0.1065, allocations: 38.73 kB / 429.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.1066, allocations: 8.891 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1068, allocations: 184.2 kB / 429.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.1068, allocations: 4.375 kB / 429.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.1069, allocations: 4.375 kB / 429.4 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1071, allocations: 89.66 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1071, allocations: 7.875 kB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1071, allocations: 4 kB / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1071, allocations: 0 / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.47e-05/0.1071, allocations: 11.98 kB / 429.5 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.1075, allocations: 253.8 kB / 429.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.1076, allocations: 49.08 kB / 429.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.1076, allocations: 17.78 kB / 429.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1076, allocations: 0 / 429.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1076, allocations: 34.56 kB / 429.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.1076, allocations: 0 / 429.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002076/0.1078, allocations: 61.58 kB / 430 MB, free: 1.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.1079, allocations: 77.11 kB / 430 MB, free: 1.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.108, allocations: 135.7 kB / 430.2 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.1081, allocations: 29.69 kB / 430.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.1081, allocations: 92.12 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.1081, allocations: 3.953 kB / 430.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.1082, allocations: 13.97 kB / 430.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1083, allocations: 318.8 kB / 430.6 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.1083, allocations: 7.984 kB / 430.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.1084, allocations: 13.72 kB / 430.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.625e-05/0.1084, allocations: 21.72 kB / 430.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1084, allocations: 4 kB / 430.7 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.909e-05/0.1085, allocations: 53.62 kB / 430.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1085, allocations: 4 kB / 430.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1085, allocations: 0 / 430.7 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1086, allocations: 7.938 kB / 430.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.666e-05/0.1086, allocations: 7.922 kB / 430.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1086, allocations: 0 / 430.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.39e-05/0.1086, allocations: 0 / 430.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1086, allocations: 4 kB / 430.7 MB, free: 0.7617 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 9.595e-05/0.1087, allocations: 121.8 kB / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.1088, allocations: 41.58 kB / 430.9 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.1088, allocations: 7.531 kB / 430.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1088, allocations: 0 / 430.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.1088, allocations: 4 kB / 430.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1088, allocations: 4 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.109, allocations: 169.6 kB / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.109, allocations: 0 / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.109, allocations: 0 / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.109, allocations: 0 / 431.1 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.109, allocations: 8.031 kB / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.109, allocations: 0 / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.109, allocations: 0 / 431.1 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.1092, allocations: 160.2 kB / 431.2 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1092, allocations: 92.98 kB / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1093, allocations: 0 / 431.3 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.1093, allocations: 4.031 kB / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1093, allocations: 0 / 431.3 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1093, allocations: 4 kB / 431.3 MB, free: 48 kB / 350.1 MB Notification: Performance of sorting global known variables: time 8.95e-05/0.1094, allocations: 104.5 kB / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1094, allocations: 0 / 431.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.1096, allocations: 4 kB / 431.4 MB, free: 15.94 MB / 366.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.0004709/0.1101, allocations: 0.6864 MB / 432.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000111/0.1102, allocations: 19.98 kB / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1102, allocations: 0 / 432.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.1102, allocations: 4 kB / 432.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.1106, allocations: 19.67 kB / 432.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1118, allocations: 1.252 MB / 433.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.1121, allocations: 0.6924 MB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.272e-05/0.1122, allocations: 3.984 kB / 434.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.996e-05/0.1122, allocations: 11.42 kB / 434.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1122, allocations: 4.031 kB / 434.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.1362, allocations: 1.381 MB / 435.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.096, allocations: 15.17 kB / 435.5 MB, free: 11.85 MB / 366.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.88594768801704] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.167882442008704 8.422245775 8.07986562 Calling exit ...