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.002043/0.002043, allocations: 117.9 kB / 17.84 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002759/0.002759, allocations: 199.5 kB / 18.79 MB, free: 4.156 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.553/1.553, allocations: 230.4 MB / 250 MB, free: 9.039 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.002274/0.002274, allocations: 67.83 kB / 366.9 MB, free: 7.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2732, allocations: 53.3 MB / 420.2 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003454/0.2766, allocations: 1.596 MB / 421.8 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2777, allocations: 0.5376 MB / 422.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.781e-05/0.2777, allocations: 4 kB / 422.3 MB, free: 6.148 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.622e-05/0.2778, allocations: 3.938 kB / 422.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.2779, allocations: 11.81 kB / 422.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.2782, allocations: 59.31 kB / 422.4 MB, free: 6.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2784, allocations: 35.92 kB / 422.4 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2785, allocations: 11.98 kB / 422.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.2786, allocations: 39.84 kB / 422.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.2786, allocations: 23.86 kB / 422.5 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.2787, allocations: 4 kB / 422.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.2787, allocations: 8 kB / 422.5 MB, free: 5.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.2788, allocations: 15.92 kB / 422.5 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.2788, allocations: 23.81 kB / 422.5 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.279, allocations: 54.75 kB / 422.6 MB, free: 5.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.279, allocations: 3.938 kB / 422.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.279, allocations: 0 / 422.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.279, allocations: 0 / 422.6 MB, free: 5.863 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.0005694/0.2796, allocations: 391 kB / 423 MB, free: 5.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2796, allocations: 12.03 kB / 423 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.2796, allocations: 34.73 kB / 423 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.2798, allocations: 20.83 kB / 423 MB, free: 5.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2801, allocations: 199.1 kB / 423.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.2801, allocations: 384 / 423.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.2801, allocations: 8.359 kB / 423.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.2804, allocations: 125.1 kB / 423.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.2805, allocations: 0 / 423.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.2805, allocations: 4 kB / 423.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2805, allocations: 0 / 423.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.2805, allocations: 19.98 kB / 423.4 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.2809, allocations: 265.8 kB / 423.7 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.2811, allocations: 134.2 kB / 423.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.2812, allocations: 33.77 kB / 423.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2812, allocations: 8 kB / 423.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2812, allocations: 34.5 kB / 423.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.2813, allocations: 0 / 423.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000274/0.2815, allocations: 77.61 kB / 423.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.2816, allocations: 85.05 kB / 424 MB, free: 4.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.2817, allocations: 138.2 kB / 424.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2817, allocations: 29.83 kB / 424.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.2818, allocations: 96.06 kB / 424.3 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.2818, allocations: 3.953 kB / 424.3 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.2819, allocations: 17.72 kB / 424.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.282, allocations: 318.8 kB / 424.6 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.282, allocations: 12 kB / 424.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.2821, allocations: 39.42 kB / 424.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.2822, allocations: 47.36 kB / 424.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2822, allocations: 0 / 424.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001402/0.2823, allocations: 73.84 kB / 424.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2823, allocations: 4 kB / 424.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2824, allocations: 4 kB / 424.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2824, allocations: 0 / 424.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.2825, allocations: 11.94 kB / 424.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.2825, allocations: 3.984 kB / 424.8 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.253e-05/0.2825, allocations: 11.98 kB / 424.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.2825, allocations: 0 / 424.8 MB, free: 3.34 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 9.596e-05/0.2826, allocations: 125.9 kB / 424.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.2827, allocations: 53.58 kB / 425 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.2827, allocations: 4.25 kB / 425 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2827, allocations: 4 kB / 425 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.2827, allocations: 3.984 kB / 425 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2827, allocations: 0 / 425 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.2829, allocations: 177.5 kB / 425.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2829, allocations: 0 / 425.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.318e-05/0.283, allocations: 12 kB / 425.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.283, allocations: 0 / 425.2 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.283, allocations: 7.984 kB / 425.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.283, allocations: 0 / 425.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.283, allocations: 0 / 425.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.2832, allocations: 168.3 kB / 425.4 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.2833, allocations: 97.05 kB / 425.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.2833, allocations: 0 / 425.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.229e-05/0.2833, allocations: 0 / 425.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.2834, allocations: 11.94 kB / 425.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2834, allocations: 0 / 425.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.2835, allocations: 110 kB / 425.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2835, allocations: 3.938 kB / 425.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.2837, allocations: 8 kB / 425.6 MB, free: 2.457 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.0005031/0.2842, allocations: 0.7054 MB / 426.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.2843, allocations: 39.91 kB / 426.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2843, allocations: 0 / 426.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.2844, allocations: 4 kB / 426.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.2848, allocations: 27.91 kB / 426.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.2862, allocations: 1.369 MB / 427.7 MB, free: 188 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2865, allocations: 0.6885 MB / 428.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.2865, allocations: 4.328 kB / 428.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.2866, allocations: 19.42 kB / 428.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2866, allocations: 0 / 428.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.3167, allocations: 1.613 MB / 430.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.38, allocations: 18.48 kB / 430.1 MB, free: 13.96 MB / 350.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)