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.AssignClock.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.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001732/0.001732, 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.001976/0.001976, 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.595/1.595, 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.001906/0.001906, allocations: 63.91 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3301, allocations: 50.54 MB / 409.1 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002745/0.3329, allocations: 0.9523 MB / 410 MB, free: 416 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003978/0.3333, allocations: 111.6 kB / 410.1 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.3334, allocations: 0 / 410.1 MB, free: 304 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.86e-05/0.3335, allocations: 7.922 kB / 410.1 MB, free: 296 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3337, allocations: 15.86 kB / 410.2 MB, free: 280 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.334, allocations: 35.91 kB / 410.2 MB, free: 244 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3341, allocations: 39.86 kB / 410.2 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3342, allocations: 32.16 kB / 410.3 MB, free: 168 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.365e-05/0.3343, allocations: 15.92 kB / 410.3 MB, free: 152 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.046e-05/0.3343, allocations: 15.88 kB / 410.3 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3343, allocations: 4 kB / 410.3 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.3344, allocations: 0 / 410.3 MB, free: 132 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.3344, allocations: 19.92 kB / 410.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.934e-05/0.3345, allocations: 27.8 kB / 410.3 MB, free: 84 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3346, allocations: 50.7 kB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3347, allocations: 4 kB / 410.4 MB, free: 32 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3347, allocations: 0 / 410.4 MB, free: 32 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3347, allocations: 0 / 410.4 MB, free: 32 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006032/0.3353, allocations: 383.1 kB / 410.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3353, allocations: 8.031 kB / 410.8 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/0.3354, allocations: 42.69 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.3354, allocations: 12.84 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3357, allocations: 188.3 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3358, allocations: 4.375 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.3358, allocations: 4.375 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.3361, allocations: 131.5 kB / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3361, allocations: 0 / 411.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3361, allocations: 4 kB / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3361, allocations: 0 / 411.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.3362, allocations: 23.98 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002077/0.3364, allocations: 181.5 kB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3366, allocations: 66.66 kB / 411.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.878e-05/0.3366, allocations: 36.89 kB / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3367, allocations: 0 / 411.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.3367, allocations: 42.5 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 3.517e-06/0.3367, allocations: 3.984 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002169/0.3369, allocations: 89.62 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.337, allocations: 51.41 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.3371, allocations: 136.3 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3372, allocations: 25.7 kB / 411.8 MB, free: 14.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.3372, allocations: 92.08 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3373, allocations: 7.984 kB / 411.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.3373, allocations: 25.72 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3375, allocations: 314.8 kB / 412.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.3375, allocations: 7.984 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.3376, allocations: 58.88 kB / 412.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.3377, allocations: 74.73 kB / 412.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3377, allocations: 4 kB / 412.4 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001455/0.3379, allocations: 93.39 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3379, allocations: 4 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.3379, allocations: 4 kB / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3379, allocations: 0 / 412.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.194e-05/0.338, allocations: 15.98 kB / 412.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3381, allocations: 4 kB / 412.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3381, allocations: 20.14 kB / 412.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3381, allocations: 8 kB / 412.5 MB, free: 13.62 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000124/0.3383, allocations: 121.8 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3384, allocations: 78.05 kB / 412.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.3384, allocations: 12.7 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3384, allocations: 4 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3384, allocations: 0 / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3385, allocations: 0 / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3386, allocations: 169.6 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3386, allocations: 4 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.756e-05/0.3387, allocations: 23.92 kB / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3387, allocations: 3.938 kB / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3387, allocations: 192 / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3387, allocations: 0 / 412.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3387, allocations: 8.016 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3389, allocations: 101.1 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.339, allocations: 92.98 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.339, allocations: 4 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.697e-05/0.3391, allocations: 4 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.3391, allocations: 0 / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.3391, allocations: 7.984 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.575e-05/0.3392, allocations: 106.1 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3392, allocations: 0 / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3394, allocations: 8 kB / 413.3 MB, free: 12.79 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: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006583/0.3401, allocations: 0.6709 MB / 413.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3402, allocations: 39.92 kB / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3402, allocations: 0 / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3402, allocations: 0 / 414 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3406, allocations: 45.44 kB / 414 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.3421, allocations: 1.333 MB / 415.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3425, allocations: 0.6963 MB / 416 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.3426, allocations: 11.94 kB / 416.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.3426, allocations: 15.44 kB / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of SimCode: time 2.274e-06/0.3426, allocations: 0 / 416.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.3675, allocations: 1.76 MB / 417.8 MB, free: 8.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.345, allocations: 4 kB / 417.8 MB, free: 8.172 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1)