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.001672/0.001672, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002158/0.002158, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.398/1.398, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001925/0.001925, allocations: 72.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2467, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002715/0.2494, allocations: 1.502 MB / 433.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.2497, allocations: 95.69 kB / 433.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.842e-05/0.2498, allocations: 3.938 kB / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.2498, allocations: 0 / 433.5 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.2498, allocations: 7.938 kB / 433.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.2501, allocations: 19.91 kB / 433.5 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.2502, allocations: 31.86 kB / 433.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.2503, allocations: 15.98 kB / 433.6 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.2503, allocations: 4 kB / 433.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.2503, allocations: 11.94 kB / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.2504, allocations: 0 / 433.6 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-06/0.2504, allocations: 4 kB / 433.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.2504, allocations: 15.91 kB / 433.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.653e-05/0.2504, allocations: 11.94 kB / 433.6 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.66e-05/0.2505, allocations: 25.03 kB / 433.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2505, allocations: 0 / 433.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2505, allocations: 0 / 433.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2505, allocations: 0 / 433.7 MB, free: 5.145 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.0004045/0.2509, allocations: 268.4 kB / 433.9 MB, free: 4.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.251, allocations: 19.95 kB / 433.9 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.251, allocations: 30.75 kB / 434 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.469e-05/0.251, allocations: 4.891 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.2512, allocations: 126.4 kB / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.2512, allocations: 384 / 434.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.2513, allocations: 4.375 kB / 434.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2515, allocations: 111.9 kB / 434.2 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2516, allocations: 3.938 kB / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.2516, allocations: 0 / 434.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2516, allocations: 4 kB / 434.2 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.995e-05/0.2516, allocations: 15.98 kB / 434.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2518, allocations: 140.7 kB / 434.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.2519, allocations: 50.48 kB / 434.4 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.252, allocations: 24.92 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.252, allocations: 0 / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.252, allocations: 34.56 kB / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.252, allocations: 0 / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002035/0.2522, allocations: 77.59 kB / 434.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.2523, allocations: 55.41 kB / 434.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.2524, allocations: 105.9 kB / 434.7 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2524, allocations: 29.64 kB / 434.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.2524, allocations: 92.06 kB / 434.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.2524, allocations: 0 / 434.8 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.2525, allocations: 13.72 kB / 434.8 MB, free: 3.777 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.2526, allocations: 318.8 kB / 435.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.2526, allocations: 7.984 kB / 435.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.2526, allocations: 27.44 kB / 435.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.2527, allocations: 31.38 kB / 435.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2527, allocations: 4 kB / 435.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.006e-05/0.2528, allocations: 57.62 kB / 435.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2528, allocations: 7.938 kB / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2528, allocations: 0 / 435.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2528, allocations: 4 kB / 435.3 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.2529, allocations: 4 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.2529, allocations: 3.938 kB / 435.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.2529, allocations: 12.08 kB / 435.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.2529, allocations: 7.922 kB / 435.3 MB, free: 3.262 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 8.138e-05/0.253, allocations: 117.8 kB / 435.4 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2531, allocations: 53.62 kB / 435.5 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.342e-05/0.2531, allocations: 12 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2531, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2531, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2531, allocations: 0 / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.2532, allocations: 128.7 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2532, allocations: 4 kB / 435.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.2533, allocations: 8 kB / 435.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2533, allocations: 3.938 kB / 435.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.2533, allocations: 0 / 435.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2533, allocations: 3.938 kB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2533, allocations: 256 / 435.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.2534, allocations: 85.06 kB / 435.7 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.2534, allocations: 12.31 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.2534, allocations: 11.92 kB / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.2534, allocations: 0 / 435.8 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-06/0.2535, allocations: 4 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2535, allocations: 0 / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.2535, allocations: 83.28 kB / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2535, allocations: 0 / 435.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001758/0.2537, allocations: 4 kB / 435.8 MB, free: 2.656 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.000479/0.2542, allocations: 0.6357 MB / 436.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2543, allocations: 27.86 kB / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2543, allocations: 0 / 436.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2543, allocations: 4 kB / 436.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.2545, allocations: 19.09 kB / 436.5 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2555, allocations: 1.15 MB / 437.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2558, allocations: 0.6807 MB / 438.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.666e-05/0.2559, allocations: 4 kB / 438.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.2559, allocations: 15.44 kB / 438.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2559, allocations: 0 / 438.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.023/0.2789, allocations: 1.256 MB / 439.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.804/8.083, allocations: 11.86 kB / 439.6 MB, free: 14.79 MB / 350.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.421958838123828] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.151927459985018 8.17691493 7.922013469 Calling exit ...