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.Sample1.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.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001724/0.001724, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00207/0.00207, allocations: 206 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.454/1.454, allocations: 227.7 MB / 247.2 MB, free: 10.16 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.002231/0.002231, allocations: 71.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3066, allocations: 50.54 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003816/0.3105, allocations: 1.588 MB / 410.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.312, allocations: 0.522 MB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3122, allocations: 4 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.3123, allocations: 3.938 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.3124, allocations: 15.86 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.3128, allocations: 59.77 kB / 411.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.313, allocations: 43.89 kB / 411.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.3131, allocations: 12 kB / 411.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3133, allocations: 27.86 kB / 411.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/0.3134, allocations: 23.86 kB / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.3134, allocations: 0 / 411.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.3135, allocations: 15.98 kB / 411.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.3135, allocations: 15.92 kB / 411.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.3136, allocations: 23.81 kB / 411.4 MB, free: 15.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3138, allocations: 58.75 kB / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3138, allocations: 0 / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.295e-06/0.3139, allocations: 0 / 411.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3139, allocations: 3.938 kB / 411.5 MB, free: 14.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007662/0.3146, allocations: 383 kB / 411.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.3147, allocations: 8.031 kB / 411.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.508e-05/0.3148, allocations: 42.69 kB / 411.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.315, allocations: 20.88 kB / 411.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.3155, allocations: 200.1 kB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.3155, allocations: 4.375 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3155, allocations: 384 / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.3159, allocations: 121.2 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3159, allocations: 0 / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3159, allocations: 0 / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3159, allocations: 0 / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.316, allocations: 23.92 kB / 412.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.3165, allocations: 265.7 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.3169, allocations: 146.2 kB / 412.7 MB, free: 13.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.317, allocations: 33.77 kB / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.317, allocations: 0 / 412.7 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.317, allocations: 38.56 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.317, allocations: 4 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003337/0.3174, allocations: 77.75 kB / 412.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/0.3175, allocations: 77.11 kB / 412.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.3177, allocations: 142.1 kB / 413 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.3177, allocations: 25.7 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.3178, allocations: 88.14 kB / 413.2 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.3178, allocations: 11.89 kB / 413.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.3179, allocations: 29.77 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.3181, allocations: 314.8 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.443e-05/0.3181, allocations: 15.98 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.3182, allocations: 27.42 kB / 413.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.3183, allocations: 55.36 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3183, allocations: 0 / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001548/0.3185, allocations: 69.56 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3185, allocations: 4 kB / 413.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3185, allocations: 4.125 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3186, allocations: 4 kB / 413.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.853e-05/0.3186, allocations: 11.98 kB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3187, allocations: 0 / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.3187, allocations: 7.938 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3187, allocations: 0 / 413.7 MB, free: 12.43 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.000123/0.3188, allocations: 129.7 kB / 413.8 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.3189, allocations: 45.66 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.319, allocations: 12.23 kB / 413.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.319, allocations: 8 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.319, allocations: 4 kB / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.319, allocations: 0 / 413.9 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3193, allocations: 169.6 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3193, allocations: 4 kB / 414.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.3194, allocations: 7.984 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3194, allocations: 4 kB / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3194, allocations: 0 / 414.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3194, allocations: 3.938 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3194, allocations: 0 / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.3197, allocations: 176.3 kB / 414.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.3198, allocations: 89.05 kB / 414.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3198, allocations: 8 kB / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.3199, allocations: 0 / 414.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3199, allocations: 7.984 kB / 414.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3199, allocations: 0 / 414.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.879e-05/0.32, allocations: 109.8 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.32, allocations: 0 / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.3203, allocations: 8 kB / 414.5 MB, free: 11.55 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0005784/0.3209, allocations: 0.713 MB / 415.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001585/0.321, allocations: 31.92 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.321, allocations: 4 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.3211, allocations: 11.98 kB / 415.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.3215, allocations: 27.41 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.3232, allocations: 1.356 MB / 416.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.3237, allocations: 0.6924 MB / 417.3 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.3237, allocations: 12.02 kB / 417.3 MB, free: 8.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.3238, allocations: 19.44 kB / 417.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3238, allocations: 0 / 417.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/0.3499, allocations: 1.587 MB / 418.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.383/8.733, allocations: 11.17 kB / 418.9 MB, free: 7.07 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1)