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.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 114.4 kB / 17.84 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002025/0.002025, allocations: 207.5 kB / 18.79 MB, free: 4.141 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.414/1.414, allocations: 230.4 MB / 250 MB, free: 9.117 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.001863/0.001863, allocations: 67.84 kB / 366.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3091, allocations: 53.31 MB / 420.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002892/0.312, allocations: 1.48 MB / 421.7 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001798/0.3122, allocations: 31.84 kB / 421.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.06e-05/0.3123, allocations: 0 / 421.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.564e-05/0.3123, allocations: 7.938 kB / 421.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.822e-05/0.3123, allocations: 0 / 421.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3125, allocations: 23.91 kB / 421.7 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.634e-05/0.3126, allocations: 23.98 kB / 421.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.3127, allocations: 8 kB / 421.7 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.3128, allocations: 15.92 kB / 421.8 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.3128, allocations: 15.92 kB / 421.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.3128, allocations: 4 kB / 421.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.3128, allocations: 0 / 421.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.128e-05/0.3129, allocations: 15.92 kB / 421.8 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.3129, allocations: 15.88 kB / 421.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.213e-05/0.313, allocations: 23.89 kB / 421.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.313, allocations: 0 / 421.8 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.313, allocations: 4 kB / 421.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.313, allocations: 4 kB / 421.8 MB, free: 6.625 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.0004344/0.3134, allocations: 346.4 kB / 422.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3135, allocations: 12.03 kB / 422.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.3135, allocations: 30.75 kB / 422.2 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3135, allocations: 12.83 kB / 422.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3137, allocations: 180.3 kB / 422.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.3138, allocations: 384 / 422.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.3138, allocations: 4.375 kB / 422.4 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.3141, allocations: 127.8 kB / 422.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3141, allocations: 3.938 kB / 422.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.3141, allocations: 0 / 422.5 MB, free: 5.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3141, allocations: 3.938 kB / 422.6 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.3142, allocations: 23.98 kB / 422.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.3144, allocations: 161.6 kB / 422.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.3145, allocations: 54.55 kB / 422.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.3146, allocations: 28.91 kB / 422.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.3146, allocations: 0 / 422.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.3146, allocations: 38.5 kB / 422.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.3146, allocations: 0 / 422.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.3149, allocations: 77.59 kB / 422.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.315, allocations: 63.41 kB / 423 MB, free: 5.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.847e-05/0.3151, allocations: 105.8 kB / 423.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3151, allocations: 25.7 kB / 423.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.3151, allocations: 80.14 kB / 423.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.3151, allocations: 11.98 kB / 423.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.3152, allocations: 9.719 kB / 423.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3153, allocations: 318.8 kB / 423.5 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.3153, allocations: 4 kB / 423.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.911e-05/0.3154, allocations: 39.36 kB / 423.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3155, allocations: 35.38 kB / 423.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3155, allocations: 0 / 423.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.941e-05/0.3156, allocations: 69.58 kB / 423.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3156, allocations: 7.938 kB / 423.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3156, allocations: 0 / 423.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3156, allocations: 7.938 kB / 423.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.3157, allocations: 4 kB / 423.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3157, allocations: 4 kB / 423.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.3157, allocations: 0 / 423.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.3157, allocations: 4 kB / 423.7 MB, free: 4.508 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.349e-05/0.3158, allocations: 121.9 kB / 423.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.316, allocations: 65.61 kB / 423.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.316, allocations: 7.906 kB / 423.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.316, allocations: 0 / 423.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.316, allocations: 0 / 423.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.316, allocations: 4.375 kB / 423.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.3161, allocations: 161.6 kB / 424.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3161, allocations: 4 kB / 424.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.3162, allocations: 8 kB / 424.1 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.3162, allocations: 3.938 kB / 424.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3162, allocations: 0 / 424.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3162, allocations: 4 kB / 424.1 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3162, allocations: 3.984 kB / 424.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3164, allocations: 89.05 kB / 424.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.3164, allocations: 89 kB / 424.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3164, allocations: 3.938 kB / 424.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.3164, allocations: 11.98 kB / 424.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.3165, allocations: 0 / 424.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3165, allocations: 0 / 424.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.3165, allocations: 83.28 kB / 424.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3165, allocations: 0 / 424.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.3167, allocations: 8 kB / 424.4 MB, free: 3.738 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0005705/0.3173, allocations: 0.6478 MB / 425 MB, free: 3.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.3174, allocations: 32.03 kB / 425 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3174, allocations: 0 / 425 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.5e-07/0.3174, allocations: 0 / 425 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3177, allocations: 27.95 kB / 425.1 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3188, allocations: 1.185 MB / 426.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.3191, allocations: 0.6768 MB / 426.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3191, allocations: 4 kB / 426.9 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.3192, allocations: 11.44 kB / 426.9 MB, free: 1 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3192, allocations: 0 / 426.9 MB, free: 1 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/0.3446, allocations: 1.409 MB / 428.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/8.04, allocations: 15.94 kB / 428.4 MB, free: 15.71 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_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_TickBasedStep.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1)