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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.462/1.462, allocations: 227.7 MB / 247.2 MB, free: 10.14 MB / 206.1 MB 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.001884/0.001884, allocations: 63.91 kB / 358.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2433, allocations: 50.54 MB / 409.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003679/0.247, allocations: 1.491 MB / 410.6 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003379/0.2474, allocations: 91.73 kB / 410.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.2474, allocations: 0 / 410.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.257e-05/0.2475, allocations: 7.938 kB / 410.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.2475, allocations: 3.938 kB / 410.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2478, allocations: 23.91 kB / 410.7 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.2479, allocations: 27.86 kB / 410.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.248, allocations: 12 kB / 410.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.2481, allocations: 11.98 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/0.2482, allocations: 7.938 kB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2482, allocations: 4 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.2482, allocations: 0 / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.2482, allocations: 7.938 kB / 410.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.2483, allocations: 19.91 kB / 410.8 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.2484, allocations: 23.91 kB / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2484, allocations: 0 / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2484, allocations: 0 / 410.8 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.2485, allocations: 4 kB / 410.8 MB, free: 15.59 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.0005344/0.249, allocations: 338.4 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.2491, allocations: 12.03 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.2491, allocations: 30.75 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.684e-05/0.2492, allocations: 12.88 kB / 411.2 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2495, allocations: 176.3 kB / 411.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2495, allocations: 4.312 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2495, allocations: 8.312 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003854/0.2499, allocations: 111.9 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2499, allocations: 3.938 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.25, allocations: 0 / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.25, allocations: 3.984 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.2501, allocations: 15.98 kB / 411.5 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.2503, allocations: 165.6 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.2505, allocations: 50.5 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.2506, allocations: 32.86 kB / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.2507, allocations: 0 / 411.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.2507, allocations: 38.55 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.2507, allocations: 4 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002944/0.251, allocations: 69.61 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.2511, allocations: 51.41 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2512, allocations: 101.9 kB / 412 MB, free: 14.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2513, allocations: 25.7 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.2513, allocations: 88.12 kB / 412.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.2514, allocations: 4 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.2514, allocations: 13.72 kB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.2516, allocations: 322.8 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.2516, allocations: 3.984 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.2517, allocations: 27.44 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.616e-05/0.2518, allocations: 39.38 kB / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2518, allocations: 0 / 412.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001276/0.2519, allocations: 57.58 kB / 412.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2519, allocations: 7.938 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.252, allocations: 4 kB / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.252, allocations: 0 / 412.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.252, allocations: 8.25 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2521, allocations: 4.125 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.501e-05/0.2521, allocations: 4 kB / 412.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.2521, allocations: 4 kB / 412.6 MB, free: 13.52 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 0.0001329/0.2523, allocations: 117.8 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.2524, allocations: 57.62 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.323e-05/0.2525, allocations: 7.906 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2525, allocations: 0 / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2525, allocations: 3.938 kB / 412.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2525, allocations: 7.984 kB / 412.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.2527, allocations: 153.7 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.2527, allocations: 4 kB / 413 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.2528, allocations: 4 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2528, allocations: 3.938 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2528, allocations: 4 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2528, allocations: 3.984 kB / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2528, allocations: 0 / 413 MB, free: 13.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.2531, allocations: 93.33 kB / 413.1 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.2531, allocations: 85.03 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.2532, allocations: 3.938 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.2532, allocations: 4 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-06/0.2532, allocations: 3.938 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.2532, allocations: 0 / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.534e-05/0.2533, allocations: 83.28 kB / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2533, allocations: 0 / 413.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.2537, allocations: 4 kB / 413.2 MB, free: 12.77 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.0007053/0.2544, allocations: 0.6318 MB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.2545, allocations: 23.98 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2546, allocations: 0 / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-06/0.2546, allocations: 4.188 kB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2549, allocations: 25.34 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.2564, allocations: 1.142 MB / 415.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2568, allocations: 0.6884 MB / 415.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.2569, allocations: 0 / 415.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.2569, allocations: 19.42 kB / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2569, allocations: 0 / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02732/0.2843, allocations: 1.251 MB / 417 MB, free: 8.965 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.248, allocations: 14.44 kB / 417 MB, free: 8.953 MB / 334.1 MB (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.0004 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)