Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001289/0.001289, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001386/0.001386, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.459/1.459, allocations: 230.5 MB / 254.8 MB, free: 15.07 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.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.001894/0.001894, allocations: 75.81 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 53.32 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002885/0.109, allocations: 1.492 MB / 428.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.1097, allocations: 442.9 kB / 428.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.1098, allocations: 4 kB / 428.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.1098, allocations: 7.922 kB / 429 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.065e-05/0.1099, allocations: 11.88 kB / 429 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1101, allocations: 27.41 kB / 429 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1103, allocations: 35.92 kB / 429 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1104, allocations: 4 kB / 429 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.627e-05/0.1104, allocations: 23.84 kB / 429.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.697e-05/0.1105, allocations: 15.92 kB / 429.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.1105, allocations: 4 kB / 429.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.235e-05/0.1105, allocations: 4 kB / 429.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.1105, allocations: 11.94 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.1106, allocations: 19.92 kB / 429.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.1107, allocations: 35.81 kB / 429.1 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1107, allocations: 3.938 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1107, allocations: 0 / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1107, allocations: 4 kB / 429.1 MB, free: 2.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005348/0.1112, allocations: 347.4 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1112, allocations: 8.031 kB / 429.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.943e-05/0.1113, allocations: 34.75 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.1113, allocations: 12.89 kB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.1116, allocations: 184.3 kB / 429.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.1116, allocations: 4.359 kB / 429.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1116, allocations: 12.31 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.112, allocations: 131.4 kB / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.112, allocations: 0 / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.112, allocations: 0 / 429.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1121, allocations: 3.984 kB / 429.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1122, allocations: 35.97 kB / 429.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.1124, allocations: 157.7 kB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002712/0.1127, allocations: 86.45 kB / 430.1 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1128, allocations: 32.91 kB / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.1128, allocations: 0 / 430.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1128, allocations: 34.5 kB / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1128, allocations: 0 / 430.2 MB, free: 1.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003517/0.1132, allocations: 97.64 kB / 430.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1132, allocations: 55.34 kB / 430.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.1133, allocations: 105.8 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1133, allocations: 33.7 kB / 430.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.1134, allocations: 80.14 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-06/0.1134, allocations: 3.984 kB / 430.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1134, allocations: 21.72 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1136, allocations: 310.8 kB / 430.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.1136, allocations: 8 kB / 430.9 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.1136, allocations: 27.42 kB / 430.9 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.1137, allocations: 39.31 kB / 431 MB, free: 0.543 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1137, allocations: 4 kB / 431 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.392e-05/0.1138, allocations: 61.52 kB / 431 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1138, allocations: 4 kB / 431 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1138, allocations: 0 / 431 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1138, allocations: 7.938 kB / 431.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.41e-05/0.1138, allocations: 7.938 kB / 431.1 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1138, allocations: 4.125 kB / 431.1 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.1139, allocations: 7.938 kB / 431.1 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1139, allocations: 0 / 431.1 MB, free: 452 kB / 350.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: 0 () * 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 8.616e-05/0.114, allocations: 113.8 kB / 431.2 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.1142, allocations: 85.81 kB / 431.3 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.1142, allocations: 7.906 kB / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1142, allocations: 48 / 431.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1142, allocations: 7.984 kB / 431.3 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1142, allocations: 4 kB / 431.3 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1143, allocations: 157.7 kB / 431.4 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1144, allocations: 4 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.1144, allocations: 19.86 kB / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1144, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.1144, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1144, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1144, allocations: 0 / 431.5 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.1147, allocations: 105.1 kB / 431.6 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.801e-05/0.1147, allocations: 85 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.1147, allocations: 0 / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.1148, allocations: 7.984 kB / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.1148, allocations: 0 / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1148, allocations: 0 / 431.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.932e-05/0.1149, allocations: 91.27 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1149, allocations: 4 kB / 431.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001783/0.1151, allocations: 4 kB / 431.8 MB, free: 15.64 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: 0 () * 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.0005729/0.1156, allocations: 0.6397 MB / 432.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1158, allocations: 35.91 kB / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1158, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.1158, allocations: 0 / 432.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1161, allocations: 38.44 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.1172, allocations: 1.178 MB / 433.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1176, allocations: 0.6845 MB / 434.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.522e-05/0.1176, allocations: 0 / 434.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.1176, allocations: 15.44 kB / 434.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1176, allocations: 0 / 434.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02419/0.1418, allocations: 1.379 MB / 435.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.743/7.885, allocations: 11.78 kB / 435.7 MB, free: 11.65 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_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_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.520136722829193] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.952865387778729 8.170816445 7.863759609 Calling exit ...