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.TimeBasedStep.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.001322/0.001322, allocations: 122.5 kB / 18.51 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.001395/0.001395, allocations: 215.2 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.458/1.458, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",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.001903/0.001903, allocations: 68.02 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 53.33 MB / 427 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002766/0.1098, allocations: 1.48 MB / 428.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.11, allocations: 107.7 kB / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.1101, allocations: 0 / 428.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.1101, allocations: 3.938 kB / 428.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.1102, allocations: 0 / 428.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1104, allocations: 27.91 kB / 428.6 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.967e-05/0.1105, allocations: 27.92 kB / 428.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.1106, allocations: 4 kB / 428.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.566e-05/0.1106, allocations: 11.92 kB / 428.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.1107, allocations: 11.94 kB / 428.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.1107, allocations: 4 kB / 428.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.494e-06/0.1107, allocations: 0 / 428.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.1107, allocations: 8 kB / 428.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.49e-05/0.1107, allocations: 15.86 kB / 428.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.043e-05/0.1108, allocations: 35.83 kB / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1108, allocations: 0 / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1108, allocations: 0 / 428.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1108, allocations: 0 / 428.7 MB, free: 3.055 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.0004926/0.1113, allocations: 339.4 kB / 429.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1114, allocations: 8.031 kB / 429.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.1114, allocations: 34.75 kB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.1114, allocations: 24.75 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.1116, allocations: 168.4 kB / 429.3 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1117, allocations: 4.375 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.1117, allocations: 4.375 kB / 429.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.112, allocations: 107.8 kB / 429.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.112, allocations: 7.938 kB / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.112, allocations: 0 / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.112, allocations: 0 / 429.4 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.1121, allocations: 23.97 kB / 429.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.1122, allocations: 161.6 kB / 429.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.1124, allocations: 50.5 kB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.362e-05/0.1125, allocations: 28.92 kB / 429.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.1125, allocations: 3.938 kB / 429.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.1125, allocations: 30.56 kB / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1125, allocations: 0 / 429.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002412/0.1127, allocations: 77.53 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.1128, allocations: 55.41 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.233e-05/0.1129, allocations: 105.9 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1129, allocations: 29.7 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.113, allocations: 84.12 kB / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.073e-06/0.113, allocations: 0 / 430.1 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.113, allocations: 17.72 kB / 430.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1131, allocations: 310.8 kB / 430.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.661e-05/0.1132, allocations: 11.98 kB / 430.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.1132, allocations: 27.44 kB / 430.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.823e-05/0.1132, allocations: 39.38 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1132, allocations: 0 / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.864e-05/0.1133, allocations: 53.75 kB / 430.5 MB, free: 1.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1133, allocations: 11.94 kB / 430.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1133, allocations: 256 / 430.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1134, allocations: 4 kB / 430.5 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/0.1134, allocations: 11.94 kB / 430.5 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1134, allocations: 4 kB / 430.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.1134, allocations: 3.953 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.1134, allocations: 0 / 430.6 MB, free: 0.9844 MB / 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.614e-05/0.1135, allocations: 117.8 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.1136, allocations: 57.62 kB / 430.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.1137, allocations: 11.91 kB / 430.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1137, allocations: 0 / 430.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1137, allocations: 0 / 430.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1137, allocations: 3.984 kB / 430.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1138, allocations: 161.5 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1138, allocations: 3.938 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.1138, allocations: 8 kB / 430.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1138, allocations: 3.938 kB / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1139, allocations: 0 / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1139, allocations: 3.984 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1139, allocations: 4 kB / 430.9 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.114, allocations: 85.34 kB / 431 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.114, allocations: 89.12 kB / 431.1 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.1141, allocations: 3.938 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.1141, allocations: 4 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-06/0.1141, allocations: 4 kB / 431.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1141, allocations: 0 / 431.1 MB, free: 328 kB / 350.1 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.1141, allocations: 83.28 kB / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1141, allocations: 0 / 431.2 MB, free: 244 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.1143, allocations: 4 kB / 431.2 MB, free: 240 kB / 350.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.0004809/0.1148, allocations: 0.6279 MB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1149, allocations: 35.92 kB / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1149, allocations: 0 / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.1149, allocations: 0 / 431.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1151, allocations: 18.23 kB / 431.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1162, allocations: 1.154 MB / 433 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1165, allocations: 0.6807 MB / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.352e-05/0.1165, allocations: 0 / 433.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1165, allocations: 10.69 kB / 433.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1165, allocations: 0 / 433.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.1394, allocations: 1.262 MB / 435 MB, free: 12.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/7.881, allocations: 18.97 kB / 435 MB, free: 12.41 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_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_TimeBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.497465804684907] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 7.947192702908069 8.143348496 7.848984273 Calling exit ...