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.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001475/0.001475, allocations: 117.7 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.001417/0.001417, allocations: 211.8 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.594/1.594, allocations: 227.7 MB / 247.2 MB, free: 10.24 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.001972/0.001972, allocations: 67.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3229, allocations: 50.53 MB / 409.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003743/0.3267, allocations: 1.873 MB / 410.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.3283, allocations: 0.6973 MB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3285, allocations: 8 kB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001927/0.3287, allocations: 23.73 kB / 411.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.3289, allocations: 19.81 kB / 411.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3293, allocations: 110.7 kB / 411.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.3296, allocations: 143.6 kB / 411.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.3298, allocations: 65.69 kB / 412 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3299, allocations: 59.72 kB / 412.1 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.3301, allocations: 59.62 kB / 412.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.3301, allocations: 8 kB / 412.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.3302, allocations: 20 kB / 412.1 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.3302, allocations: 23.92 kB / 412.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.3303, allocations: 67.55 kB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.3306, allocations: 150.3 kB / 412.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3306, allocations: 0 / 412.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3306, allocations: 0 / 412.4 MB, free: 14.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3307, allocations: 0 / 412.4 MB, free: 14.06 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007656/0.3314, allocations: 458.8 kB / 412.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3315, allocations: 8.031 kB / 412.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.3315, allocations: 42.75 kB / 412.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.3318, allocations: 28.83 kB / 412.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.3322, allocations: 260.9 kB / 413.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.3322, allocations: 11.88 kB / 413.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3323, allocations: 8 kB / 413.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.3329, allocations: 280.7 kB / 413.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3329, allocations: 0 / 413.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3329, allocations: 4 kB / 413.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.333, allocations: 8 kB / 413.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.3332, allocations: 71.83 kB / 413.5 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005997/0.3338, allocations: 423.5 kB / 414 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.3343, allocations: 294 kB / 414.2 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.3346, allocations: 116.4 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3346, allocations: 7.984 kB / 414.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.3347, allocations: 50.44 kB / 414.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.362e-06/0.3347, allocations: 0 / 414.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006347/0.3353, allocations: 205.4 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001798/0.3355, allocations: 204.2 kB / 414.8 MB, free: 11.31 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.3358, allocations: 178.3 kB / 415 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.3358, allocations: 29.7 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.3359, allocations: 112 kB / 415.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3359, allocations: 12.33 kB / 415.1 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.336, allocations: 29.7 kB / 415.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.3362, allocations: 326.8 kB / 415.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.3363, allocations: 27.98 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.3365, allocations: 134.4 kB / 415.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3367, allocations: 157.6 kB / 415.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3367, allocations: 0 / 415.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002984/0.3371, allocations: 169.6 kB / 416 MB, free: 10.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.3371, allocations: 12.03 kB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3371, allocations: 4 kB / 416 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.3371, allocations: 8 kB / 416 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3373, allocations: 27.98 kB / 416 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.3373, allocations: 15.86 kB / 416 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.3374, allocations: 15.95 kB / 416 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3374, allocations: 8 kB / 416 MB, free: 9.926 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001384/0.3376, allocations: 141.7 kB / 416.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000292/0.3379, allocations: 141.4 kB / 416.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.051e-05/0.338, allocations: 29.39 kB / 416.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.338, allocations: 0 / 416.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.338, allocations: 4 kB / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.338, allocations: 0 / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.3383, allocations: 221.5 kB / 416.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3383, allocations: 0 / 416.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3385, allocations: 39.91 kB / 416.6 MB, free: 9.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.3385, allocations: 11.97 kB / 416.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.3385, allocations: 4 kB / 416.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3385, allocations: 4 kB / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3385, allocations: 0 / 416.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004535/0.339, allocations: 357.2 kB / 417 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.3391, allocations: 108.9 kB / 417.1 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.816e-05/0.3391, allocations: 8 kB / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.3393, allocations: 7.984 kB / 417.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3393, allocations: 4 kB / 417.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3393, allocations: 8 kB / 417.1 MB, free: 8.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.3395, allocations: 140.3 kB / 417.3 MB, free: 8.605 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3395, allocations: 4 kB / 417.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003295/0.3398, allocations: 20 kB / 417.3 MB, free: 8.582 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.0008089/0.3406, allocations: 0.8968 MB / 418.2 MB, free: 7.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.341, allocations: 112.6 kB / 418.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.341, allocations: 192 / 418.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.341, allocations: 19.94 kB / 418.3 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000659/0.3417, allocations: 99.48 kB / 418.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.3444, allocations: 2.077 MB / 420.5 MB, free: 5.148 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3449, allocations: 0.7241 MB / 421.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.3449, allocations: 21.47 kB / 421.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.345, allocations: 43.42 kB / 421.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.345, allocations: 0 / 421.3 MB, free: 4.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.3715, allocations: 3.415 MB / 424.7 MB, free: 1.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.893, allocations: 11.84 kB / 424.7 MB, free: 1.078 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_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_HoldWithDAeffects1.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1)