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.AssignClockVectorized.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.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001771/0.001771, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002191/0.002191, allocations: 200.6 kB / 18.74 MB, free: 4.332 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.592/1.592, allocations: 227.7 MB / 247.2 MB, free: 10.19 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.001976/0.001976, allocations: 63.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3131, allocations: 50.55 MB / 409.1 MB, free: 1.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized): time 0.002824/0.316, allocations: 1.034 MB / 410.1 MB, free: 352 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.3164, allocations: 127.5 kB / 410.2 MB, free: 224 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.3165, allocations: 4 kB / 410.2 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001089/0.3166, allocations: 7.875 kB / 410.3 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.3167, allocations: 19.84 kB / 410.3 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.317, allocations: 39.91 kB / 410.3 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.3171, allocations: 71.81 kB / 410.4 MB, free: 80 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.3173, allocations: 43.91 kB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.373e-05/0.3173, allocations: 27.92 kB / 410.5 MB, free: 8 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.3174, allocations: 27.92 kB / 410.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.3174, allocations: 8 kB / 410.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.3175, allocations: 4 kB / 410.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.3175, allocations: 31.91 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.155e-05/0.3176, allocations: 43.67 kB / 410.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3178, allocations: 86.53 kB / 410.6 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3178, allocations: 4 kB / 410.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.3178, allocations: 0 / 410.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3178, allocations: 0 / 410.7 MB, free: 15.8 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005593/0.3184, allocations: 410.9 kB / 411.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3184, allocations: 8.031 kB / 411.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.3185, allocations: 42.73 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.3185, allocations: 16.83 kB / 411.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.3189, allocations: 204.7 kB / 411.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3189, allocations: 12.33 kB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.3189, allocations: 4.375 kB / 411.3 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004361/0.3193, allocations: 221.2 kB / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3194, allocations: 0 / 411.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3194, allocations: 8 kB / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3194, allocations: 0 / 411.6 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.3195, allocations: 39.92 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.3197, allocations: 185.6 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.32, allocations: 134.6 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3201, allocations: 73.48 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.3201, allocations: 7.875 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3202, allocations: 34.56 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.3202, allocations: 0 / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0002933/0.3205, allocations: 156.6 kB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.267e-05/0.3205, allocations: 63.41 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.3207, allocations: 150.9 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3207, allocations: 25.7 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.3208, allocations: 92.47 kB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3208, allocations: 11.92 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.3209, allocations: 33.67 kB / 412.5 MB, free: 13.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.321, allocations: 322.8 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.3211, allocations: 19.98 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3212, allocations: 128.8 kB / 413 MB, free: 13.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3213, allocations: 149.5 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.3214, allocations: 3.938 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002192/0.3216, allocations: 161.2 kB / 413.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3216, allocations: 7.938 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.3216, allocations: 4 kB / 413.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3216, allocations: 8.5 kB / 413.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.3218, allocations: 31.98 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3218, allocations: 7.938 kB / 413.4 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.3218, allocations: 11.95 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.3219, allocations: 8 kB / 413.4 MB, free: 12.72 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: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001229/0.322, allocations: 141.6 kB / 413.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3222, allocations: 117.5 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.3222, allocations: 17.17 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.3222, allocations: 4 kB / 413.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3222, allocations: 11.94 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3222, allocations: 0 / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.3224, allocations: 193.6 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3224, allocations: 0 / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.3225, allocations: 27.92 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3225, allocations: 0 / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3225, allocations: 0 / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.3225, allocations: 4 kB / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3225, allocations: 0 / 413.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001948/0.3227, allocations: 152.9 kB / 414 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.025e-05/0.3228, allocations: 109 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3229, allocations: 4 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.3229, allocations: 4 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-06/0.3229, allocations: 0 / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3229, allocations: 4 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.037e-05/0.323, allocations: 107.2 kB / 414.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.323, allocations: 4 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3233, allocations: 16 kB / 414.3 MB, free: 11.72 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: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006273/0.3239, allocations: 0.7367 MB / 415 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.3241, allocations: 92.53 kB / 415.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3241, allocations: 4.25 kB / 415.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.3241, allocations: 4 kB / 415.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.3245, allocations: 79.91 kB / 415.2 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3261, allocations: 1.658 MB / 416.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.3264, allocations: 0.7201 MB / 417.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.527e-05/0.3265, allocations: 8.656 kB / 417.6 MB, free: 8.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.236e-05/0.3265, allocations: 27.42 kB / 417.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3265, allocations: 0 / 417.6 MB, free: 8.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02454/0.3511, allocations: 2.476 MB / 420.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.372, allocations: 10.06 kB / 420.1 MB, free: 5.836 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized_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_AssignClockVectorized.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1)