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.001807/0.001807, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002344/0.002344, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.555/1.555, allocations: 230.6 MB / 258.3 MB, free: 8.074 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.001934/0.001934, allocations: 68.77 kB / 378.6 MB, free: 3.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2486, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002691/0.2513, allocations: 1.51 MB / 433.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.2521, allocations: 450.8 kB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.2522, allocations: 8 kB / 433.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.507e-05/0.2522, allocations: 3.938 kB / 433.9 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.2523, allocations: 7.938 kB / 433.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.2525, allocations: 26.66 kB / 433.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2526, allocations: 35.86 kB / 434 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.2527, allocations: 11.98 kB / 434 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.297e-05/0.2528, allocations: 15.94 kB / 434 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.2528, allocations: 19.91 kB / 434 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.2529, allocations: 0 / 434 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.2529, allocations: 4 kB / 434 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.2529, allocations: 15.92 kB / 434 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.2529, allocations: 19.81 kB / 434 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.536e-05/0.253, allocations: 33.02 kB / 434.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.253, allocations: 4 kB / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.253, allocations: 0 / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.253, allocations: 0 / 434.1 MB, free: 4.762 MB / 334.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.0004569/0.2535, allocations: 273.9 kB / 434.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.2535, allocations: 12.03 kB / 434.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/0.2536, allocations: 30.75 kB / 434.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.2536, allocations: 12.89 kB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2538, allocations: 122.5 kB / 434.5 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.2538, allocations: 4.375 kB / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2538, allocations: 384 / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.2543, allocations: 151.3 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2543, allocations: 0 / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2543, allocations: 3.984 kB / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2543, allocations: 0 / 434.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.2544, allocations: 35.95 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001444/0.2546, allocations: 132.7 kB / 434.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.2548, allocations: 82.45 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.2549, allocations: 28.92 kB / 434.9 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.255, allocations: 7.984 kB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.255, allocations: 34.5 kB / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.255, allocations: 0 / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003328/0.2553, allocations: 97.64 kB / 435.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.2554, allocations: 51.41 kB / 435.1 MB, free: 3.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.2555, allocations: 109.8 kB / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.2555, allocations: 25.7 kB / 435.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.2555, allocations: 92.08 kB / 435.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.2555, allocations: 0 / 435.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.2556, allocations: 25.7 kB / 435.4 MB, free: 3.277 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2557, allocations: 310.8 kB / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.2557, allocations: 0 / 435.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.2557, allocations: 31.42 kB / 435.7 MB, free: 2.922 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.2558, allocations: 39.38 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2558, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.593e-05/0.2559, allocations: 65.52 kB / 435.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.2559, allocations: 8 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2559, allocations: 0 / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2559, allocations: 0 / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/0.256, allocations: 8 kB / 435.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.256, allocations: 4.062 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/0.256, allocations: 11.88 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.256, allocations: 4 kB / 435.9 MB, free: 2.766 MB / 334.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 7.939e-05/0.2561, allocations: 113.8 kB / 436 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.2563, allocations: 73.59 kB / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.2563, allocations: 12 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2563, allocations: 3.984 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2563, allocations: 0 / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2563, allocations: 4 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.661e-05/0.2564, allocations: 128.7 kB / 436.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2564, allocations: 0 / 436.2 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.2565, allocations: 15.92 kB / 436.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2565, allocations: 4 kB / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2565, allocations: 336 / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.2565, allocations: 3.938 kB / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2565, allocations: 3.984 kB / 436.2 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2567, allocations: 101.1 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.2567, allocations: 15.89 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2567, allocations: 0 / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.506e-05/0.2568, allocations: 7.984 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-06/0.2568, allocations: 0 / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2568, allocations: 3.938 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.366e-05/0.2568, allocations: 87.28 kB / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2568, allocations: 0 / 436.4 MB, free: 2.113 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.257, allocations: 8 kB / 436.4 MB, free: 2.105 MB / 334.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.0005051/0.2575, allocations: 0.6358 MB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.2577, allocations: 39.91 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2577, allocations: 0 / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-07/0.2577, allocations: 0 / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.258, allocations: 31.97 kB / 437.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.259, allocations: 1.166 MB / 438.3 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.2593, allocations: 0.6807 MB / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.423e-05/0.2593, allocations: 0 / 439 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.2594, allocations: 15.44 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2594, allocations: 0 / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.2828, allocations: 1.381 MB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.859, allocations: 11.45 kB / 440.4 MB, free: 14.08 MB / 350.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.380107784178108] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.927732775919139 7.952103145 7.6945991430000005 Calling exit ...