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.TimeBasedPulse.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.001798/0.001798, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002184/0.002184, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.472/1.472, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse",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.00197/0.00197, allocations: 67.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09707/0.09904, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse): time 0.002712/0.1018, allocations: 1.498 MB / 428.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008932/0.1026, allocations: 498.7 kB / 429 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.1027, allocations: 4 kB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.1027, allocations: 3.938 kB / 429 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1029, allocations: 19.86 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.1031, allocations: 27.97 kB / 429 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1032, allocations: 59.77 kB / 429.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.1033, allocations: 8 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.1034, allocations: 23.86 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1034, allocations: 23.91 kB / 429.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.1034, allocations: 4 kB / 429.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.1035, allocations: 4 kB / 429.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.1035, allocations: 12 kB / 429.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.1035, allocations: 31.78 kB / 429.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.1036, allocations: 43.81 kB / 429.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1036, allocations: 3.938 kB / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1037, allocations: 0 / 429.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1037, allocations: 0 / 429.3 MB, free: 2.512 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006625/0.1043, allocations: 379.3 kB / 429.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1044, allocations: 8.031 kB / 429.6 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.1044, allocations: 46.67 kB / 429.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.1044, allocations: 4.891 kB / 429.7 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1047, allocations: 180.3 kB / 429.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1047, allocations: 4.375 kB / 429.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1047, allocations: 4.375 kB / 429.9 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.1051, allocations: 147.3 kB / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1052, allocations: 0 / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.1052, allocations: 0 / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1052, allocations: 0 / 430 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.1053, allocations: 35.91 kB / 430 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.1055, allocations: 165.7 kB / 430.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1057, allocations: 131.7 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.1057, allocations: 24.86 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1058, allocations: 7.969 kB / 430.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1058, allocations: 34.5 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1058, allocations: 0 / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002624/0.1061, allocations: 93.56 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.1061, allocations: 59.41 kB / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/0.1062, allocations: 105.8 kB / 430.7 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1062, allocations: 29.7 kB / 430.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.1063, allocations: 84.14 kB / 430.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.1063, allocations: 7.875 kB / 430.8 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.1063, allocations: 29.7 kB / 430.8 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1065, allocations: 318.8 kB / 431.1 MB, free: 412 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.1065, allocations: 8.188 kB / 431.1 MB, free: 404 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.1065, allocations: 49.45 kB / 431.2 MB, free: 336 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.1066, allocations: 57.03 kB / 431.2 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1066, allocations: 4 kB / 431.2 MB, free: 256 kB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.1067, allocations: 77.45 kB / 431.3 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1067, allocations: 8 kB / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1067, allocations: 352 / 431.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.1067, allocations: 7.984 kB / 431.3 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.512e-05/0.1068, allocations: 8 kB / 431.3 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1068, allocations: 7.984 kB / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.1068, allocations: 0 / 431.3 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1068, allocations: 4 kB / 431.3 MB, free: 136 kB / 350.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: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.751e-05/0.1069, allocations: 117.8 kB / 431.5 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1071, allocations: 77.56 kB / 431.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.1071, allocations: 8.375 kB / 431.5 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1071, allocations: 4 kB / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1071, allocations: 0 / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1071, allocations: 0 / 431.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1072, allocations: 165.6 kB / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1072, allocations: 0 / 431.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.974e-05/0.1073, allocations: 11.94 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1073, allocations: 0 / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1073, allocations: 0 / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1073, allocations: 4 kB / 431.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1073, allocations: 3.938 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1075, allocations: 97.06 kB / 431.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.987e-05/0.1075, allocations: 85.05 kB / 431.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1075, allocations: 4.125 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.1076, allocations: 19.97 kB / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.1076, allocations: 0 / 431.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1076, allocations: 4 kB / 431.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.057e-05/0.1077, allocations: 87.28 kB / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1077, allocations: 0 / 432 MB, free: 15.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.1079, allocations: 8 kB / 432 MB, free: 15.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0005559/0.1084, allocations: 0.6636 MB / 432.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001388/0.1086, allocations: 43.98 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1086, allocations: 0 / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.1086, allocations: 3.938 kB / 432.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1089, allocations: 43.94 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1101, allocations: 1.24 MB / 434 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.1104, allocations: 0.6923 MB / 434.7 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.27e-05/0.1104, allocations: 8 kB / 434.7 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1104, allocations: 11.44 kB / 434.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1104, allocations: 0 / 434.7 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.1345, allocations: 1.682 MB / 436.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.158, allocations: 0 / 436.4 MB, free: 10.94 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000199561 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedPulse.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.797330972738564] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.22641993779689 8.432336027 8.144284331 Calling exit ...